diff --git a/clang/test/Parser/CompoundStmtScope.c b/clang/test/Parser/CompoundStmtScope.c new file mode 100644 index 000000000000..1e1aa79f0b39 --- /dev/null +++ b/clang/test/Parser/CompoundStmtScope.c @@ -0,0 +1,8 @@ +// RUN: not clang %s -fsyntax-only + +int foo() { + { + typedef float X; + } + X Y; +}