blob: f5a31631fbadcc6269824a3b4b9140907592e036 [file] [log] [blame]
Daniel Dunbard7f60502008-11-08 04:42:29 +00001// RUN: clang -o %t --emit-llvm -g %s
2
Chris Lattner5c11d4e2008-11-11 06:27:34 +00003// PR3023
Daniel Dunbard7f60502008-11-08 04:42:29 +00004void convert(void) {
5 struct { typeof(0) f0; } v0;
6}
Chris Lattner14132172008-11-11 06:42:53 +00007
8// PR2784
9struct OPAQUE;
10typedef struct OPAQUE *PTR;
11PTR p;
12
13
14// PR2950
15struct s0;
16struct s0 { struct s0 *p; } g0;
17
18struct s0 *f0(struct s0 *a0) {
19 return a0->p;
20}
21
Anders Carlsson4d6e8dd2008-11-26 17:40:42 +000022// PR3134
23char xpto[];
24