forked from OSchip/llvm-project
Only invoke the preprocessor; it's the only thing being tested. Also, check
the output to make sure that the macros and comments are being treated as such. llvm-svn: 48638
This commit is contained in:
parent
27654983dc
commit
f4303edfa3
|
@ -1,4 +1,5 @@
|
|||
// RUN: clang %s -fsyntax-only -fms-extensions
|
||||
// RUN: clang -E -fms-extensions %s | sed '/^#.\+/d' | tr -d '\n' |
|
||||
// RUN: grep '^int foo;int bar;int baz;$' | count 1
|
||||
// This horrible stuff should preprocess into (other than whitespace):
|
||||
// int foo;
|
||||
// int bar;
|
||||
|
|
Loading…
Reference in New Issue