summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/string-literal-short-wstring.c
diff options
context:
space:
mode:
authorSeth Cantrell <seth.cantrell@gmail.com>2012-01-18 12:27:10 +0000
committerSeth Cantrell <seth.cantrell@gmail.com>2012-01-18 12:27:10 +0000
commit6255c257e95348f4c03de9ed9657f57b9a68316f (patch)
tree86044e7ba40fd74a726989b3452c7a0e4597ae75 /clang/test/CodeGen/string-literal-short-wstring.c
parent9c2d6f02798b1061eabfdd2aefdcbc2ee062588f (diff)
downloadbcm5719-llvm-6255c257e95348f4c03de9ed9657f57b9a68316f.tar.gz
bcm5719-llvm-6255c257e95348f4c03de9ed9657f57b9a68316f.zip
Add and update tests for character literals
llvm-svn: 148392
Diffstat (limited to 'clang/test/CodeGen/string-literal-short-wstring.c')
-rw-r--r--clang/test/CodeGen/string-literal-short-wstring.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/test/CodeGen/string-literal-short-wstring.c b/clang/test/CodeGen/string-literal-short-wstring.c
index 309ffd33b27..88e4a1e4008 100644
--- a/clang/test/CodeGen/string-literal-short-wstring.c
+++ b/clang/test/CodeGen/string-literal-short-wstring.c
@@ -29,15 +29,4 @@ int main() {
// -4085 == 0xf00b
// CHECK: store i16 -4085
wchar_t wc = L'\uF00B';
-
- // Should take lower word of the 4byte UNC sequence. This does not match
- // gcc. I don't understand what gcc does (it looks like it converts to utf16,
- // then takes the second (!) utf16 word, swaps the lower two nibbles, and
- // stores that?).
- // CHECK: store i16 -4085
- wchar_t wd = L'\U0010F00B'; // has utf16 encoding dbc8 dcb0
-
- // Should pick second character. (gcc: -9205)
- // CHECK: store i16 -4085
- wchar_t we = L'\u1234\U0010F00B';
}
OpenPOWER on IntegriCloud