Rafael Espindola | 8a1af32 | 2010-07-19 15:20:12 +0000 | [diff] [blame] | 1 | // RUN: %clang -E %s @%s.args -o %t.log |
| 2 | // RUN: FileCheck --input-file=%t.log %s |
| 3 | |
| 4 | // CHECK: bar1 |
| 5 | // CHECK-NEXT: bar2 zed2 |
| 6 | // CHECK-NEXT: bar3 zed3 |
| 7 | // CHECK-NEXT: bar4 zed4 |
| 8 | // CHECK-NEXT: bar5 zed5 |
| 9 | // CHECK-NEXT: 'bar6 zed6' |
| 10 | // CHECK-NEXT: "bar7 zed7" |
| 11 | // CHECK-NEXT: foo8bar8zed8 |
| 12 | // CHECK-NEXT: foo9'bar9'zed9 |
| 13 | // CHECK-NEXT: foo10"bar10"zed10 |
| 14 | // CHECK: bar |
| 15 | // CHECK: zed12 |
| 16 | |
| 17 | foo1 |
| 18 | foo2 |
| 19 | foo3 |
| 20 | foo4 |
| 21 | foo5 |
| 22 | foo6 |
| 23 | foo7 |
| 24 | foo8 |
| 25 | foo9 |
| 26 | foo10 |
| 27 | #ifdef foo11 |
| 28 | bar |
| 29 | #endif |
| 30 | foo12 |