1 // RUN: %clang_cc1 -fsyntax-only -verify %s
4 Super s1; // expected-error{{interface type cannot be statically allocated}}
6 extern Super e1; // expected-error{{interface type cannot be statically allocated}}
9 Super s1; // expected-error{{interface type cannot be statically allocated}}
16 Super ivar1; // expected-error{{interface type cannot be statically allocated}}
21 Super objField; // expected-error{{interface type cannot be statically allocated}}
26 Super<P1> ivar1; // expected-error{{interface type cannot be statically allocated}}
30 Super foo( // expected-error{{interface type 'Super' cannot be returned by value; did you forget * in 'Super'}}
31 Super parm1) { // expected-error{{interface type 'Super' cannot be passed by value; did you forget * in 'Super'}}
32 Super p1; // expected-error{{interface type cannot be statically allocated}}
36 @interface NSMutableSet @end
38 @interface DVTDummyAnnotationProvider
39 @property(readonly) NSMutableSet annotations; // expected-error{{interface type cannot be statically allocated}}