diff options
Diffstat (limited to 'clang/test/Parser/declarators.c')
-rw-r--r-- | clang/test/Parser/declarators.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/test/Parser/declarators.c b/clang/test/Parser/declarators.c index 041f912643d..42826cea0dd 100644 --- a/clang/test/Parser/declarators.c +++ b/clang/test/Parser/declarators.c @@ -16,7 +16,13 @@ int a, ***C, * const D, b(int); int *A; +struct str; + int test2(int *P, int A) { - // Hard case. + struct str; + + // Hard case for array decl, not Array[*]. int Array[*(int*)P+A]; } + + |