diff options
Diffstat (limited to 'test/Preprocessor/if_warning.c')
-rw-r--r-- | test/Preprocessor/if_warning.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Preprocessor/if_warning.c b/test/Preprocessor/if_warning.c index 98653a8..345ac95 100644 --- a/test/Preprocessor/if_warning.c +++ b/test/Preprocessor/if_warning.c @@ -19,3 +19,9 @@ extern int x; #else 1 // Should not warn due to C99 6.10p4 #endif #endif + + +// PR6852 +#if 'somesillylongthing' // expected-warning {{character constant too long for its type}} \ + // expected-warning {{multi-character character constant}} +#endif |