New testcase
authorChris Lattner <sabre@nondot.org>
Mon, 12 May 2003 15:34:39 +0000 (15:34 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 May 2003 15:34:39 +0000 (15:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6127 91177308-0d34-0410-b5e6-96231b3b80d8

test/CBackend/2003-05-12-IntegerSizeWarning.ll [new file with mode: 0644]
test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll [new file with mode: 0644]

diff --git a/test/CBackend/2003-05-12-IntegerSizeWarning.ll b/test/CBackend/2003-05-12-IntegerSizeWarning.ll
new file mode 100644 (file)
index 0000000..f709dfd
--- /dev/null
@@ -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 (file)
index 0000000..f709dfd
--- /dev/null
@@ -0,0 +1,5 @@
+; Apparently this constant was unsigned in ISO C 90, but not in C 99.
+
+int %foo() {
+       ret int -2147483648
+}