From eb2def66bebc1512d0e5b3fb9c930c8840d690d3 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 27 Jun 2007 04:30:12 +0000 Subject: Submitted by: Bill Wendling - Converted to use the -parse-ast-check flag. llvm-svn: 39681 --- clang/test/Parser/CompoundStmtScope.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/Parser/CompoundStmtScope.c') diff --git a/clang/test/Parser/CompoundStmtScope.c b/clang/test/Parser/CompoundStmtScope.c index 1e1aa79f0b3..d6a4730632c 100644 --- a/clang/test/Parser/CompoundStmtScope.c +++ b/clang/test/Parser/CompoundStmtScope.c @@ -1,8 +1,8 @@ -// RUN: not clang %s -fsyntax-only +// RUN: clang -parse-ast-check %s int foo() { { typedef float X; } - X Y; + X Y; // expected-error {{use of undeclared identifier}} } -- cgit v1.2.3