diff options
author | Steve Naroff <snaroff@apple.com> | 2009-03-31 10:29:45 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-03-31 10:29:45 +0000 |
commit | f2a880ca2237861b568ac8e9079a481549ae9a00 (patch) | |
tree | a3f534214a9f5effaf105558aa892a32afa9adb0 /clang/test/Sema/ucn-cstring.c | |
parent | 8b14b98babdf2ce81c5d89556fe7794ff1349b72 (diff) | |
download | bcm5719-llvm-f2a880ca2237861b568ac8e9079a481549ae9a00.tar.gz bcm5719-llvm-f2a880ca2237861b568ac8e9079a481549ae9a00.zip |
Incorporate feedback from Eli.
llvm-svn: 68107
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... |