Remove old test.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 4 Jul 2013 14:18:32 +0000 (14:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 4 Jul 2013 14:18:32 +0000 (14:18 +0000)
It was not clear what was being tested and the test was trivially passing
by getting grep confused with tcl quotes.

llvm-svn: 185629

clang/test/CodeGen/2004-11-27-InvalidConstantExpr.c [deleted file]

diff --git a/clang/test/CodeGen/2004-11-27-InvalidConstantExpr.c b/clang/test/CodeGen/2004-11-27-InvalidConstantExpr.c
deleted file mode 100644 (file)
index 431dccf..0000000
+++ /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;
-}