diff options
Diffstat (limited to 'test/Lexer/char-escapes.c')
-rw-r--r-- | test/Lexer/char-escapes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Lexer/char-escapes.c b/test/Lexer/char-escapes.c index d918bf4..32a1c61 100644 --- a/test/Lexer/char-escapes.c +++ b/test/Lexer/char-escapes.c @@ -19,3 +19,4 @@ int test['\(' == 40 ? 1 : -1]; // expected-warning {{non-standard escape}} int test['\{' == 123 ? 1 : -1]; // expected-warning {{non-standard escape}} int test['\[' == 91 ? 1 : -1]; // expected-warning {{non-standard escape}} int test['\%' == 37 ? 1 : -1]; // expected-warning {{non-standard escape}} +const char *format = "abc \m def"; // expected-warning{{unknown escape sequence '\m'}} |