diff options
Diffstat (limited to 'test/FrontendC/2002-02-18-64bitConstant.c')
-rw-r--r-- | test/FrontendC/2002-02-18-64bitConstant.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/FrontendC/2002-02-18-64bitConstant.c b/test/FrontendC/2002-02-18-64bitConstant.c new file mode 100644 index 0000000..a88587a --- /dev/null +++ b/test/FrontendC/2002-02-18-64bitConstant.c @@ -0,0 +1,10 @@ +// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null + +/* GCC wasn't handling 64 bit constants right fixed */ + +#include <stdio.h> + +int main() { + long long Var = 123455678902ll; + printf("%lld\n", Var); +} |