diff options
Diffstat (limited to 'clang/test/Preprocessor/macro_rparen_scan2.c')
-rw-r--r-- | clang/test/Preprocessor/macro_rparen_scan2.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/macro_rparen_scan2.c b/clang/test/Preprocessor/macro_rparen_scan2.c new file mode 100644 index 0000000..42aa544 --- /dev/null +++ b/clang/test/Preprocessor/macro_rparen_scan2.c @@ -0,0 +1,10 @@ +// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s + +#define R_PAREN ) + +#define FUNC(a) a + +static int glob = (1 + FUNC(1 R_PAREN ); + +// CHECK: static int glob = (1 + 1 ); + |