Files
llvm-project/clang/test/Preprocessor/macro_paste_commaext.c
Argyrios Kyrtzidis 351763e156 Multiple tests in a single test file must be linked with '&&'.
Otherwise, failing tests other than the last one will not be reported.

llvm-svn: 52231
2008-06-12 12:40:02 +00:00

14 lines
312 B
C

// RUN: clang %s -E | grep 'V);' &&
// RUN: clang %s -E | grep 'W, 1, 2);' &&
// RUN: clang %s -E | grep 'X, 1, 2);' &&
// RUN: clang %s -E | grep 'Y, );' &&
// RUN: clang %s -E | grep 'Z, );'
#define debug(format, ...) format, ## __VA_ARGS__)
debug(V);
debug(W, 1, 2);
debug(X, 1, 2 );
debug(Y, );
debug(Z,);