summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/exceptions-nonfragile.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/exceptions-nonfragile.m')
-rw-r--r--clang/test/CodeGenObjC/exceptions-nonfragile.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/exceptions-nonfragile.m b/clang/test/CodeGenObjC/exceptions-nonfragile.m
index 41cda2c0a9c..57ed1d9da9d 100644
--- a/clang/test/CodeGenObjC/exceptions-nonfragile.m
+++ b/clang/test/CodeGenObjC/exceptions-nonfragile.m
@@ -11,3 +11,7 @@ void protos() {
@throw;
}
}
+
+void throwing() {
+ @throw(@"error!");
+}
OpenPOWER on IntegriCloud