llvm-project/clang/test/Preprocessor/invalid-__has_warning1.c

6 lines
180 B
C

// 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(