Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -E | grep 'V);' |
2 | // RUN: %clang_cc1 %s -E | grep 'W, 1, 2);' | ||||
3 | // RUN: %clang_cc1 %s -E | grep 'X, 1, 2);' | ||||
4 | // RUN: %clang_cc1 %s -E | grep 'Y, );' | ||||
5 | // RUN: %clang_cc1 %s -E | grep 'Z, );' | ||||
Chris Lattner | 71a3a8d | 2008-01-29 07:54:23 +0000 | [diff] [blame] | 6 | |
7 | #define debug(format, ...) format, ## __VA_ARGS__) | ||||
8 | debug(V); | ||||
9 | debug(W, 1, 2); | ||||
10 | debug(X, 1, 2 ); | ||||
11 | debug(Y, ); | ||||
12 | debug(Z,); | ||||
13 |