aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/22-decl.c
blob: b78502195072e3838a3382b13463f8af07484e97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* EXPECT:
*/

void f(int (*)());
void f(int (*)(int));
void f(int (*)());
int a[];
int a[100];
int a[];

static unsigned local;
extern unsigned local;

typedef struct foo { char r; } foo_t;
static const foo_t T = ((foo_t) { 3 });

static const int X = 4;
struct {
   int k : X; /* EXTENSION */
};

foo_t empty[] = {}; /* EXTENSION */

int main() {
}