summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2004-11-27-InvalidConstantExpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2004-11-27-InvalidConstantExpr.c')
-rw-r--r--test/CodeGen/2004-11-27-InvalidConstantExpr.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/CodeGen/2004-11-27-InvalidConstantExpr.c b/test/CodeGen/2004-11-27-InvalidConstantExpr.c
deleted file mode 100644
index 431dccf..0000000
--- a/test/CodeGen/2004-11-27-InvalidConstantExpr.c
+++ /dev/null
@@ -1,10 +0,0 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - | not grep {foo\\* sub}
-// This should not produce a subtrace constantexpr of a pointer
-struct foo {
- int Y;
- char X[100];
-} F;
-
-int test(char *Y) {
- return Y - F.X;
-}
OpenPOWER on IntegriCloud