diff options
Diffstat (limited to 'test/CodeGen/2002-02-18-64bitConstant.c')
-rw-r--r-- | test/CodeGen/2002-02-18-64bitConstant.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/2002-02-18-64bitConstant.c b/test/CodeGen/2002-02-18-64bitConstant.c new file mode 100644 index 000000000000..95da72dc30a3 --- /dev/null +++ b/test/CodeGen/2002-02-18-64bitConstant.c @@ -0,0 +1,10 @@ +// RUN: %clang_cc1 -emit-llvm %s -o /dev/null + +/* GCC wasn't handling 64 bit constants right fixed */ + +int printf(const char * restrict format, ...); + +int main() { + long long Var = 123455678902ll; + printf("%lld\n", Var); +} |