diff options
Diffstat (limited to 'test/Index/Inputs/t2.m')
| -rw-r--r-- | test/Index/Inputs/t2.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Index/Inputs/t2.m b/test/Index/Inputs/t2.m new file mode 100644 index 000000000000..3f103eeb1dc7 --- /dev/null +++ b/test/Index/Inputs/t2.m @@ -0,0 +1,13 @@ +#include "objc.h" + +static void foo() { + Sub *sub; + int x = [sub my_var]; + [sub my_method:x]; + [Sub my_method:x]; +} + +@implementation Sub +-(void) my_method: (int)param { +} +@end |
