c99-idem-qual-1.c   [plain text]


/* Test for idempotent type qualifiers: in C99 only.  */
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */

typedef const int cint;
const cint foo; /* { dg-bogus "duplicate" "duplicate type qualifier error" } */