[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / CodeGen / debug-info.c
bloba84d0b2c6aca5db6729872445d0040f3261b9aa9
1 // RUN: %clang_cc1 -o %t -emit-llvm -g %s
2 // RUN: FileCheck --input-file=%t %s
4 // PR3023
5 void convert(void) {
6 struct { typeof(0) f0; } v0;
10 // PR2784
11 struct OPAQUE;
12 typedef struct OPAQUE *PTR;
13 PTR p;
16 // PR2950
17 struct s0;
18 struct s0 { struct s0 *p; } g0;
20 struct s0 *f0(struct s0 *a0) {
21 return a0->p;
25 // PR3134
26 char xpto[];
29 // PR3427
30 struct foo {
31 int a;
32 void *ptrs[];
34 struct foo bar;
37 // PR4143
38 struct foo2 {
39 enum bar *bar;
42 struct foo2 foo2;
45 // Radar 7325611
46 // CHECK: "barfoo"
47 typedef int barfoo;
48 barfoo foo() {