OSDN Git Service

* tree-loop-linear.c (try_interchange_loops): Compare memory access
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / anon-struct-7.c
1 /* Test diagnostics for structure member with no type specifier or
2    declarator.  Test with -pedantic.  */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic" } */
6
7 struct s {
8   int a;
9   const; /* { dg-warning "ISO C forbids member declarations with no members" } */
10 };