diff options
-rw-r--r-- | test/CBackend/2003-05-12-IntegerSizeWarning.ll | 5 | ||||
-rw-r--r-- | test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/CBackend/2003-05-12-IntegerSizeWarning.ll b/test/CBackend/2003-05-12-IntegerSizeWarning.ll new file mode 100644 index 0000000..f709dfd --- /dev/null +++ b/test/CBackend/2003-05-12-IntegerSizeWarning.ll @@ -0,0 +1,5 @@ +; Apparently this constant was unsigned in ISO C 90, but not in C 99. + +int %foo() { + ret int -2147483648 +} diff --git a/test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll b/test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll new file mode 100644 index 0000000..f709dfd --- /dev/null +++ b/test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll @@ -0,0 +1,5 @@ +; Apparently this constant was unsigned in ISO C 90, but not in C 99. + +int %foo() { + ret int -2147483648 +} |