summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/constant-strings.m
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-09-04 04:36:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-09-04 04:36:23 +0000
commitc01f56c8de151c82d958e10fa59f54dc85e9623c (patch)
treeaecb92e6e8c5003821178744d2a3c500e91b7b9d /clang/test/CodeGenObjC/constant-strings.m
parent7050c554150f2f34e23eac117c406a15265ca0c7 (diff)
downloadbcm5719-llvm-c01f56c8de151c82d958e10fa59f54dc85e9623c.tar.gz
bcm5719-llvm-c01f56c8de151c82d958e10fa59f54dc85e9623c.zip
Add some Objective-C code generation tests.
- Note that these don't really test anything other than that code generation doesn't fail or crash. Better than nothing though! llvm-svn: 55761
Diffstat (limited to 'clang/test/CodeGenObjC/constant-strings.m')
-rw-r--r--clang/test/CodeGenObjC/constant-strings.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/constant-strings.m b/clang/test/CodeGenObjC/constant-strings.m
new file mode 100644
index 00000000000..879f91a4324
--- /dev/null
+++ b/clang/test/CodeGenObjC/constant-strings.m
@@ -0,0 +1,4 @@
+// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+
+id a = @"Hello World!";
+
OpenPOWER on IntegriCloud