summaryrefslogtreecommitdiffstats
path: root/test/SemaObjCXX/pointer-to-objc-pointer-conv.mm
blob: 80383ebfd8a94e01610f4cc259cedde8c836535f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// RUN: %clang_cc1 -fsyntax-only -verify %s

@interface G
@end

@interface F
- (void)bar:(id *)objects;
- (void)foo:(G**)objects;
@end


void a() {
	F *b;
	G **keys;
	[b bar:keys];

	id *PID;
	[b foo:PID];

}

OpenPOWER on IntegriCloud