1 // RUN: clang-cc -o %t --emit-llvm -g %s
2 
3 // PR3023
4 void convert(void) {
5   struct { typeof(0) f0; } v0;
6 }
7 
8 // PR2784
9 struct OPAQUE;
10 typedef struct OPAQUE *PTR;
11 PTR p;
12 
13 
14 // PR2950
15 struct s0;
16 struct s0 { struct s0 *p; } g0;
17 
18 struct s0 *f0(struct s0 *a0) {
19   return a0->p;
20 }
21 
22 // PR3134
23 char xpto[];
24 
25 // PR3427
26 struct foo {
27 	int a;
28 	void *ptrs[];
29 };
30 struct foo bar;
31 
32 // PR4143
33 struct foo2 {
34         enum bar *bar;
35 };
36 
37 struct foo2 foo2;
38