aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/stand-alone-implementation.m
blob: 8ab4f5a66114c4aaa0f5b02897b05aa98df399a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// 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