diff options
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Parser/CompoundStmtScope.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Parser/CompoundStmtScope.c b/clang/test/Parser/CompoundStmtScope.c new file mode 100644 index 00000000000..1e1aa79f0b3 --- /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; +} |