summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/legacy-implementation-1.m
blob: 2e4c5ae06106d60d3aedff3c063622e5a0f9897a (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s

@implementation INTF // expected-warning {{cannot find interface declaration for 'INTF'}}
@end

INTF* pi;

INTF* FUNC()
{
	return pi;
}