summaryrefslogtreecommitdiff
path: root/test/CBackend
diff options
context:
space:
mode:
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
+}