]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185629 91177308-0d34-0410-b5e6-96231b3b80d8

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

diff --git a/test/CodeGen/2004-11-27-InvalidConstantExpr.c b/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;
-}