aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-11-13-TypeSafety.c.tr
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFrontend/2003-11-13-TypeSafety.c.tr')
-rw-r--r--test/CFrontend/2003-11-13-TypeSafety.c.tr5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CFrontend/2003-11-13-TypeSafety.c.tr b/test/CFrontend/2003-11-13-TypeSafety.c.tr
new file mode 100644
index 0000000..128b767
--- /dev/null
+++ b/test/CFrontend/2003-11-13-TypeSafety.c.tr
@@ -0,0 +1,5 @@
+// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep getelementptr
+
+int *test(int *X, int Y) {
+ return X + Y;
+}