diff options
Diffstat (limited to 'test/Sema/ucn-cstring.c')
-rw-r--r-- | test/Sema/ucn-cstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/ucn-cstring.c b/test/Sema/ucn-cstring.c index 5d3e85d..382e555 100644 --- a/test/Sema/ucn-cstring.c +++ b/test/Sema/ucn-cstring.c @@ -8,7 +8,7 @@ int main(void) { printf("%s (%zd)\n", "hello \u2192 \u2603 \u2190 world", sizeof("hello \u2192 \u2603 \u2190 world")); printf("%s (%zd)\n", "\U00010400\U0001D12B", sizeof("\U00010400\U0001D12B")); // Some error conditions... - printf("%s\n", "\U"); // expected-error{{\u used with no following hex digits}} + printf("%s\n", "\U"); // expected-error{{\U used with no following hex digits}} printf("%s\n", "\U00"); // expected-error{{incomplete universal character name}} printf("%s\n", "\U0001"); // expected-error{{incomplete universal character name}} printf("%s\n", "\u0001"); // expected-error{{universal character name refers to a control character}} |