aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/stand-alone-implementation.m
blob: 6fa9b4bec5a26a0e0cb65947124139aa376422d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// radar 7547942
// Allow injection of ivars into implementation's implicit class.

@implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}}
{
  id IVAR1;
  id IVAR2;
}
- (id) Meth { return IVAR1; }
@end