summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/warn-cast-of-sel-expr.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/warn-cast-of-sel-expr.m')
-rw-r--r--test/SemaObjC/warn-cast-of-sel-expr.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaObjC/warn-cast-of-sel-expr.m b/test/SemaObjC/warn-cast-of-sel-expr.m
index 97915a0..1253db9 100644
--- a/test/SemaObjC/warn-cast-of-sel-expr.m
+++ b/test/SemaObjC/warn-cast-of-sel-expr.m
@@ -18,4 +18,7 @@ int main() {
(void *const)s; // ok
(const void *const)s; // ok
+
+// rdar://12859590
+(SEL)sel_registerName("foo"); // ok
}
OpenPOWER on IntegriCloud