mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git] / gcc / testsuite / gcc.dg / declspec-2.c
blobf2c535ad83d9bed8df3280c30e0429c6eb24f1fc
1 /* Test declaration specifiers. Test cases that used to be handled in
2 a loop in grokdeclarator. Pedantic cases. */
3 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu89 -pedantic" } */
7 /* These should all be diagnosed, but only once, not for every
8 identifier declared. */
10 const const int x0, /* { dg-warning "duplicate" } */
11 x1;
13 long long x2, /* { dg-warning "long long" } */
14 x3;