commit | c2e1c1af8ffe750b827284f207b9207112c7cc4e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 03 20:41:24 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 03 20:41:24 2010 +0000 |
tree | 6042cc75e047aecdd2be4073a5256d85316b5f33 | |
parent | 72a8659e9c4bdf28459cf1463e97896468f99cb9 [diff] |
Declarators can have grouping parens. This fixes rdar://7608537. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95246 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/declarators.c b/test/Parser/declarators.c index 7ec2a3c..6dd32d9 100644 --- a/test/Parser/declarators.c +++ b/test/Parser/declarators.c
@@ -80,3 +80,6 @@ void test12() { (void)__builtin_offsetof(struct { char c; int i; }, i); } + +// rdar://7608537 +struct test13 { int a; } (test13x);