aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-07 02:57:51 +0000
committerChris Lattner <sabre@nondot.org>2003-10-07 02:57:51 +0000
commit85c5a3f31ceb38d0a16075ef9520d85f40f84e9a (patch)
treee61e741cbd1e09ec920550bf34a45b7cca142704
parent1b36d676d1dac887cba5572af66c2e11a737dc63 (diff)
new testcase, distilled by Brian
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8914 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2003-10-06-NegateExprType.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2003-10-06-NegateExprType.c b/test/CFrontend/2003-10-06-NegateExprType.c
new file mode 100644
index 0000000000..56c5e30f4a
--- /dev/null
+++ b/test/CFrontend/2003-10-06-NegateExprType.c
@@ -0,0 +1,6 @@
+
+extern int A[10];
+void Func(int *B) {
+ B - &A[5];
+}
+