1 // PR c++/34918 2 // { dg-do compile } 3 4 int v __attribute ((vector_size (__SIZEOF_INT__ * 2))); 5 bool b = !(v - v); // { dg-error "not convert .__vector.2. int. to .bool. in initialization" } 6
1 // PR c++/34918 2 // { dg-do compile } 3 4 int v __attribute ((vector_size (__SIZEOF_INT__ * 2))); 5 bool b = !(v - v); // { dg-error "not convert .__vector.2. int. to .bool. in initialization" } 6