summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-04 14:18:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-04 14:18:32 +0000
commitd1d617593b300da32ccfde67a090c829c0d0e0b0 (patch)
tree1fea9c02d30a94df3b1d48b37c988d3d4fbbce30 /clang
parent53e40e4b06cfbd5031ce3dd6bd17174db9b82ba0 (diff)
downloadbcm5719-llvm-d1d617593b300da32ccfde67a090c829c0d0e0b0.tar.gz
bcm5719-llvm-d1d617593b300da32ccfde67a090c829c0d0e0b0.zip
Remove old test.
It was not clear what was being tested and the test was trivially passing by getting grep confused with tcl quotes. llvm-svn: 185629
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGen/2004-11-27-InvalidConstantExpr.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/test/CodeGen/2004-11-27-InvalidConstantExpr.c b/clang/test/CodeGen/2004-11-27-InvalidConstantExpr.c
deleted file mode 100644
index 431dccffc1a..00000000000
--- a/clang/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