summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-25 03:14:54 +0000
committerChris Lattner <sabre@nondot.org>2006-10-25 03:14:54 +0000
commit19f4440f5b90d0c00d217b022560fbee4310eaf1 (patch)
tree59cefd5d75693fd8f968c7260a827aa4fddca01d /clang/test
parentb1072a3df54bb9821468ba18a0f152ee1fcb691c (diff)
downloadbcm5719-llvm-19f4440f5b90d0c00d217b022560fbee4310eaf1.tar.gz
bcm5719-llvm-19f4440f5b90d0c00d217b022560fbee4310eaf1.zip
new testcase
llvm-svn: 39040
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Parser/CompoundStmtScope.c8
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;
+}
OpenPOWER on IntegriCloud