Daniel Dunbar | a45cf5b | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc %s -E | grep 'V);' && |
2 | // RUN: clang-cc %s -E | grep 'W, 1, 2);' && | ||||
3 | // RUN: clang-cc %s -E | grep 'X, 1, 2);' && | ||||
4 | // RUN: clang-cc %s -E | grep 'Y, );' && | ||||
5 | // RUN: clang-cc %s -E | grep 'Z, );' | ||||
Chris Lattner | 0c8a1ed | 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 |