diff options
Diffstat (limited to 'clang/test/Parser/CompoundStmtScope.c')
-rw-r--r-- | clang/test/Parser/CompoundStmtScope.c | 4 |
1 files changed, 2 insertions, 2 deletions
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}} } |