Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-html -o - |
Chris Lattner | 05db427 | 2009-02-13 19:33:24 +0000 | [diff] [blame] | 2 | |
| 3 | // rdar://6562329 |
| 4 | #line 42 "foo.c" |
| 5 | |
Chris Lattner | f0b26b1 | 2009-02-24 05:29:33 +0000 | [diff] [blame] | 6 | // PR3635 |
| 7 | #define F(fmt, ...) fmt, ## __VA_ARGS__ |
| 8 | int main(int argc, char **argv) { |
| 9 | return F(argc, 1); |
| 10 | } |
| 11 | |
Chris Lattner | 7c175fb | 2009-03-13 21:44:46 +0000 | [diff] [blame] | 12 | // PR3798 |
| 13 | #define FOR_ALL_FILES(f,i) i |
| 14 | |
| 15 | #if 0 |
| 16 | FOR_ALL_FILES(f) { } |
| 17 | #endif |
| 18 | |