summaryrefslogtreecommitdiff
path: root/test/CBackend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-12 15:34:39 +0000
committerChris Lattner <sabre@nondot.org>2003-05-12 15:34:39 +0000
commit4dbaba49996795af29dffd169412c0fc3646ae9d (patch)
tree07f66b768dc2fb551325d7014700ce8afd4ae77e /test/CBackend
parentbc9ab86639f5e41569e1dde10d681c49f3a16c22 (diff)
downloadllvm-4dbaba49996795af29dffd169412c0fc3646ae9d.tar.gz
llvm-4dbaba49996795af29dffd169412c0fc3646ae9d.tar.bz2
llvm-4dbaba49996795af29dffd169412c0fc3646ae9d.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CBackend')
-rw-r--r--test/CBackend/2003-05-12-IntegerSizeWarning.ll5
1 files changed, 5 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 0000000000..f709dfdfe4
--- /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
+}