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