aboutsummaryrefslogtreecommitdiff
path: root/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
commit7748cbc97ff9c6c3940549d30965a10b47a45ee8 (patch)
tree6221bd3972fa668a58b31ec1e8470e65a63f3ce7 /test/CodeGen/string-literal-short-wstring.c
parent5393e213f1d86a64e8e6b549c0ef76f9286ce279 (diff)
Add and update tests for character literals
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148392 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/string-literal-short-wstring.c')
-rw-r--r--test/CodeGen/string-literal-short-wstring.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/CodeGen/string-literal-short-wstring.c b/test/CodeGen/string-literal-short-wstring.c
index 309ffd33b2..88e4a1e400 100644
--- a/test/CodeGen/string-literal-short-wstring.c
+++ b/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';
}