diff options
Diffstat (limited to 'test/Preprocessor/disabled-cond-diags.c')
-rw-r--r-- | test/Preprocessor/disabled-cond-diags.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Preprocessor/disabled-cond-diags.c b/test/Preprocessor/disabled-cond-diags.c new file mode 100644 index 0000000..eb7632f --- /dev/null +++ b/test/Preprocessor/disabled-cond-diags.c @@ -0,0 +1,10 @@ +// RUN: clang-cc -E %s 2>&1 | not grep "warning\|error" + +#if 0 + +// Shouldn't get warnings here. +??( ??) + +// Should not get an error here. +` ` ` ` +#endif |