summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/CompoundStmtScope.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-06-27 04:30:12 +0000
committerBill Wendling <isanbard@gmail.com>2007-06-27 04:30:12 +0000
commiteb2def66bebc1512d0e5b3fb9c930c8840d690d3 (patch)
treec4f3af4ffe8025a1ff37f8d470d8c9c888eaabab /clang/test/Parser/CompoundStmtScope.c
parentff1d2c81ba99aca31f7d9c4a9f9def9cc573762e (diff)
downloadbcm5719-llvm-eb2def66bebc1512d0e5b3fb9c930c8840d690d3.tar.gz
bcm5719-llvm-eb2def66bebc1512d0e5b3fb9c930c8840d690d3.zip
Submitted by: Bill Wendling
- Converted to use the -parse-ast-check flag. llvm-svn: 39681
Diffstat (limited to 'clang/test/Parser/CompoundStmtScope.c')
-rw-r--r--clang/test/Parser/CompoundStmtScope.c4
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}}
}
OpenPOWER on IntegriCloud