summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/arc-exceptions.m
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-06-15 23:02:42 +0000
committerJohn McCall <rjmccall@apple.com>2011-06-15 23:02:42 +0000
commit31168b077c3687bb79985102b08718cd77db353d (patch)
tree489434d90661950c25716a5db40be446d933c95c /clang/test/Driver/arc-exceptions.m
parentce45f88e451387c46bfd6b53c75c7fa72b730ba1 (diff)
downloadbcm5719-llvm-31168b077c3687bb79985102b08718cd77db353d.tar.gz
bcm5719-llvm-31168b077c3687bb79985102b08718cd77db353d.zip
Automatic Reference Counting.
Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions. Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order. llvm-svn: 133103
Diffstat (limited to 'clang/test/Driver/arc-exceptions.m')
-rw-r--r--clang/test/Driver/arc-exceptions.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Driver/arc-exceptions.m b/clang/test/Driver/arc-exceptions.m
new file mode 100644
index 00000000000..4501ccd0738
--- /dev/null
+++ b/clang/test/Driver/arc-exceptions.m
@@ -0,0 +1,5 @@
+// RUN: %clang -### -x objective-c -arch x86_64 -fobjc-arc -fsyntax-only %s 2> %t.log
+// RUN: grep objective-c %t.log
+// RUN: not grep "fobjc-arc-exceptions" %t.log
+// RUN: %clang -### -x objective-c++ -arch x86_64 -fobjc-arc -fsyntax-only %s 2> %t.log
+// RUN: grep "fobjc-arc-exceptions" %t.log
OpenPOWER on IntegriCloud