DIAG(err_field_incomplete, ERROR,
"field has incomplete type %0")
DIAG(ext_variable_sized_type_in_struct, EXTWARN,
- "variable sized type %0 not at the end of a struct or class is a "
+ "field of variable sized type %0 not at the end of a struct or class is a "
"GNU extension")
DIAG(err_flexible_array_empty_struct, ERROR,
"flexible array %0 not allowed in otherwise empty struct")
char tag_data[];
};
struct datatag {
- struct pppoe_tag hdr; //expected-warning{{variable sized type 'hdr' not at the end of a struct or class is a GNU extension}}
+ struct pppoe_tag hdr; //expected-warning{{field of variable sized type 'hdr' not at the end of a struct or class is a GNU extension}}
char data;
};