Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / c99-idem-qual-1.c
blobc541d075cb1f63bc2c63e4de4a5dc67344d13ede
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:1999 -pedantic-errors" } */
6 typedef const int cint;
7 const cint foo; /* { dg-bogus "duplicate" "duplicate type qualifier error" } */