summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg27.C
blob: dd20747efab0e04814201e37035c0040a64fa37e (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// { dg-options "-pedantic-errors" }
// Don't compile this one with -Wno-long-long...

short volatile short var_0_2;              /* { dg-error "" } duplicate short */
long volatile long var_0_3;                /* { dg-error "" } duplicate long */
signed volatile signed var_0_7;            /* { dg-error "" } duplicate signed */
unsigned volatile unsigned var_0_8;        /* { dg-error "" } duplicate unsigned */