From d1d617593b300da32ccfde67a090c829c0d0e0b0 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 4 Jul 2013 14:18:32 +0000 Subject: [PATCH] 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 --- clang/test/CodeGen/2004-11-27-InvalidConstantExpr.c | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 clang/test/CodeGen/2004-11-27-InvalidConstantExpr.c 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 431dccf..0000000 --- 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; -} -- 2.7.4