1 /* DR 1511 - const volatile variables and the one-definition rule */
2 /* { dg-do compile } */
4 typedef const int cint;
5 typedef const volatile int cvint;
6 typedef volatile int vint;
8 volatile const int v2 = 6;
12 volatile cint v6 = 10;
14 volatile const int w2 = 6;
18 volatile cint w6 = 10;
20 volatile const int &r2 = w2;
22 const volatile int &r4 = w4;
23 const volatile int &r5 = w5;
24 const volatile int &r6 = w6;