Add include needed for MSVC.
[clang/acc.git] / test / SemaObjC / continuation-class-err.m
blobf516a9326a953bfa8ec2d4142fc291d4aa053016
1 // RUN: clang-cc -fsyntax-only -verify %s
3 @interface ReadOnly 
5   id _object;
6   id _object1;
8 @property(readonly) id object;
9 @property(readwrite, assign) id object1;
10 @end
12 @interface ReadOnly ()
13 @property(readwrite, copy) id object;   
14 @property(readonly) id object1; // expected-error {{attribute of property in continuation class of 'ReadOnly' can only  be 'readwrite'}}
15 @end