summaryrefslogtreecommitdiffstats
path: root/test/Index/boxed-exprs.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/boxed-exprs.h')
-rw-r--r--test/Index/boxed-exprs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Index/boxed-exprs.h b/test/Index/boxed-exprs.h
new file mode 100644
index 0000000..bdb8038
--- /dev/null
+++ b/test/Index/boxed-exprs.h
@@ -0,0 +1,10 @@
+
+@interface NSString @end
+
+@interface NSString (NSStringExtensionMethods)
++ (id)stringWithUTF8String:(const char *)nullTerminatedCString;
+@end
+
+static inline void infoo(const char *cs) {
+ NSString *s = @(cs);
+}
OpenPOWER on IntegriCloud