summaryrefslogtreecommitdiff
path: root/test/Rewriter/undef-field-reference-1.m
blob: 039c500a2486ffd45d9c6bc248de74d3c644d912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -rewrite-objc %s -o -

@interface MyDerived 
{
@public
	int IVAR;
}
@end

MyDerived *pd;
int main() {
	return pd->IVAR;
}