Files
clang-p2996/clang/test/Parser/declarators.c
Chris Lattner 2a70c95387 reenable this code, fix the testcase.
llvm-svn: 45205
2007-12-19 18:01:43 +00:00

29 lines
433 B
C

// RUN: clang %s -fsyntax-only -verify
extern int a1[];
void f0();
void f1(int [*]);
void f2(int [const *]);
void f3(int [volatile const*]);
int f4(*XX)(void); /* expected-error {{cannot return}} */
char ((((*X))));
void (*signal(int, void (*)(int)))(int);
int a, ***C, * const D, b(int);
int *A;
struct str;
int test2(int *P, int A) {
struct str;
// Hard case for array decl, not Array[*].
int Array[*(int*)P+A];
}