llvm-for-llvmta/tools/clang/test/Preprocessor/directive-invalid.c

8 lines
216 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -E -verify %s
// rdar://7683173
#define r_paren )
#if defined( x r_paren // expected-error {{missing ')' after 'defined'}} \
// expected-note {{to match this '('}}
#endif