teak-llvm/clang/test/Frontend/cpp-output.c
Daniel Dunbar 367dbb9760 Forward -C and -CC to clang.
- <rdar://problem/6945384> Driver should pass down -C and -CC

llvm-svn: 73087
2009-06-08 21:48:20 +00:00

16 lines
324 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 &&
// RUN: true
int x; // comment
#define A(foo, bar) foo bar
#define B x // comment
A(B, B)