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

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

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