mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 01:26:04 +00:00

clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
15 lines
295 B
C
15 lines
295 B
C
// RUN: %clang -E -o %t -C %s
|
|
// RUN: grep '^int x; // comment' %t
|
|
// RUN: grep '^x x' %t
|
|
// RUN: %clang -E -o %t -CC %s
|
|
// RUN: grep '^int x; // comment' %t
|
|
// RUN: grep '^x /\* comment \*/ x /\* comment \*/' %t
|
|
|
|
int x; // comment
|
|
|
|
#define A(foo, bar) foo bar
|
|
#define B x // comment
|
|
|
|
A(B, B)
|
|
|