blob: 2e6d7e1bc5a2734df6f76c376fb5721b6380100d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
typedef const int CI;
const const int c1; /* { dg-bogus "duplicate" } */
const CI c2; /* { dg-bogus "duplicate" } */
const CI *c3; /* { dg-bogus "duplicate" } */
typedef volatile int VI;
volatile volatile int v1; /* { dg-bogus "duplicate" } */
volatile VI v2; /* { dg-bogus "duplicate" } */
volatile VI *v3; /* { dg-bogus "duplicate" } */
|