summaryrefslogtreecommitdiff
path: root/test/FrontendObjC/2010-02-01-utf16-with-null.m
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-02-01 22:32:42 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-02-01 22:32:42 +0000
commite7ea6fd7cb951da539d1642121b1e32532d7ec14 (patch)
tree9fa25640c0ff9e821bd58d81a53412ea4f3d12b9 /test/FrontendObjC/2010-02-01-utf16-with-null.m
parent87c46d8a0e9d85d39bfd93a4e6307a871075add6 (diff)
downloadllvm-e7ea6fd7cb951da539d1642121b1e32532d7ec14.tar.gz
llvm-e7ea6fd7cb951da539d1642121b1e32532d7ec14.tar.bz2
llvm-e7ea6fd7cb951da539d1642121b1e32532d7ec14.tar.xz
Add test case for 95013.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendObjC/2010-02-01-utf16-with-null.m')
-rw-r--r--test/FrontendObjC/2010-02-01-utf16-with-null.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FrontendObjC/2010-02-01-utf16-with-null.m b/test/FrontendObjC/2010-02-01-utf16-with-null.m
new file mode 100644
index 0000000000..86e46376bd
--- /dev/null
+++ b/test/FrontendObjC/2010-02-01-utf16-with-null.m
@@ -0,0 +1,5 @@
+/* RUN: %llvmgcc -w -x objective-c -S %s -o - | not grep {__ustring}
+ rdar://7589850 */
+
+void *P = @"good\0bye";
+