llvm-project/clang/test/SemaObjC/continuation-class-err.m
Daniel Dunbar a45cf5b6b0 Rename clang to clang-cc.
Tests and drivers updated, still need to shuffle dirs.

llvm-svn: 67602
2009-03-24 02:24:46 +00:00

16 lines
379 B
Objective-C

// RUN: clang-cc -fsyntax-only -verify %s
@interface ReadOnly
{
id _object;
id _object1;
}
@property(readonly) id object;
@property(readwrite, assign) id object1;
@end
@interface ReadOnly ()
@property(readwrite, copy) id object;
@property(readonly) id object1; // expected-error {{attribute of property in continuation class of 'ReadOnly' can only be 'readwrite'}}
@end