diff options
Diffstat (limited to 'test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll')
-rw-r--r-- | test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll b/test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll index 2c6a596..4a7170d 100644 --- a/test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll +++ b/test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll @@ -1,7 +1,8 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=c +; RUN: llvm-as < %s | llc -march=c ; Apparently this constant was unsigned in ISO C 90, but not in C 99. -int %foo() { - ret int -2147483648 +define i32 @foo() { + ret i32 -2147483648 } + |