OSDN Git Service

* c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / init-undef-1.c
1 /* Invalid initializers should not receive an "is not constant"
2    error.  */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "" } */
6
7 int p = c; /* { dg-error "undeclared" } */
8 struct s { int a; } x = { b }; /* { dg-error "undeclared" } */