Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / c90-idem-qual-1.c
blobee05a82f558059a61a7410b670c7e2d7ac8fa283
1 /* Test for idempotent type qualifiers: in C99 only. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
6 typedef const int cint;
7 const cint foo; /* { dg-bogus "warning" "warning in place of error" } */
8 /* { dg-error "duplicate" "duplicate type qualifier error" { target *-*-* } 7 } */