summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/stand-alone-implementation.m
blob: c33b66a37bc3abba9b8f7a28b847d259d607a7ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -fsyntax-only -verify %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

OpenPOWER on IntegriCloud