diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-12 15:34:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-12 15:34:39 +0000 |
commit | 4dbaba49996795af29dffd169412c0fc3646ae9d (patch) | |
tree | 07f66b768dc2fb551325d7014700ce8afd4ae77e /test | |
parent | bc9ab86639f5e41569e1dde10d681c49f3a16c22 (diff) | |
download | external_llvm-4dbaba49996795af29dffd169412c0fc3646ae9d.zip external_llvm-4dbaba49996795af29dffd169412c0fc3646ae9d.tar.gz external_llvm-4dbaba49996795af29dffd169412c0fc3646ae9d.tar.bz2 |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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 +} |