diff options
Diffstat (limited to 'test/Preprocessor/invalid-__has_warning1.c')
-rw-r--r-- | test/Preprocessor/invalid-__has_warning1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/invalid-__has_warning1.c b/test/Preprocessor/invalid-__has_warning1.c new file mode 100644 index 000000000000..b6a0b2e8ee3c --- /dev/null +++ b/test/Preprocessor/invalid-__has_warning1.c @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -verify %s + +// These must be the last lines in this test. +// expected-error@+1{{expected string literal}} expected-error@+1 2{{expected}} +int i = __has_warning( |