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 00000000000..128b767e22d --- /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; +}