diff options
Diffstat (limited to 'test/Preprocessor/macro_paste_mscomment.c')
-rw-r--r-- | test/Preprocessor/macro_paste_mscomment.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Preprocessor/macro_paste_mscomment.c b/test/Preprocessor/macro_paste_mscomment.c index 7e06b6d375..bc364ea170 100644 --- a/test/Preprocessor/macro_paste_mscomment.c +++ b/test/Preprocessor/macro_paste_mscomment.c @@ -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; |