summaryrefslogtreecommitdiff
path: root/clang/test/Index/Inputs/t2.m
blob: 3f103eeb1dc72c830ce9979a1bef4b8ee72d5a25 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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