xref: /aosp_15_r20/external/clang/test/Frontend/cpp-output.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang -E -o %t -C %s
2 // RUN: grep '^int x; // comment' %t
3 // RUN: grep '^x x' %t
4 // RUN: %clang -E -o %t -CC %s
5 // RUN: grep '^int x; // comment' %t
6 // RUN: grep '^x /\* comment \*/ x /\* comment \*/' %t
7 
8 int x; // comment
9 
10 #define A(foo, bar) foo bar
11 #define B x // comment
12 
13 A(B, B)
14 
15