diff options
Diffstat (limited to 'clang/test/Sema/ucn-cstring.c')
-rw-r--r-- | clang/test/Sema/ucn-cstring.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Sema/ucn-cstring.c b/clang/test/Sema/ucn-cstring.c index ec760f4180e..6d021fd82d1 100644 --- a/clang/test/Sema/ucn-cstring.c +++ b/clang/test/Sema/ucn-cstring.c @@ -3,6 +3,8 @@ #include <stdio.h> int main(void) { + int a[sizeof("hello \u2192 \u2603 \u2190 world") == 24 ? 1 : -1]; + printf("%s (%d)\n", "hello \u2192 \u2603 \u2190 world", sizeof("hello \u2192 \u2603 \u2190 world")); printf("%s (%d)\n", "\U00010400\U0001D12B", sizeof("\U00010400\U0001D12B")); // Some error conditions... |