OSDN Git Service

Update gcc.dg/atomic-flag.c test for non-boolean TAS targets.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / c99-restrict-3.c
1 /* restrict qualifiers on non-pointers must be diagnosed even when
2    only a tag is being declared.  PR 38243.  */
3 /* { dg-do compile } */
4 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
5
6 restrict struct s; /* { dg-error "restrict" } */
7 restrict union u; /* { dg-error "restrict" } */