1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
8 @interface Intf <Proto>
12 id <X, Y, Z> IVAR_xyz;
13 Foo <X, Y, Z> *IVAR_Fooxyz;
14 Class <X> IVAR_Classx;
24 typeof(@encode(typeof(i))) e = @encode(typeof(Intf)); // expected-warning {{initializer-string for char array is too long}}
27 typedef short short8 __attribute__((ext_vector_type(8)));
35 short int bitfield1:5;
36 unsigned short bitfield2:11;
40 const char *RetEncode (void) {
41 return @encode(struct foo); // expected-warning {{encoding of 'struct foo' type is incomplete because 'short8' (vector of 8 'short' values) component has unknown encoding}}