summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/directive-invalid.c
blob: 86cd253bf2563072f4d4b5e9f27a6d24aa8d878a (about) (plain)
1
2
3
4
5
6
7
// 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