testsuite: Change 3 tests from c++14 to c++11
[official-gcc.git] / gcc / testsuite / gcc.dg / pr31490.c
blob37731b3a338b2d2b80ed22b47c362892aa779149
1 /* PR middle-end/31490 */
2 /* { dg-do compile } */
3 /* { dg-require-named-sections "" } */
4 /* { dg-require-effective-target ptr32plus } */
6 __extension__ typedef __UINTPTR_TYPE__ uintptr_t;
8 int cpu (void *attr) {}
9 const uintptr_t x __attribute__((section("foo"))) = (uintptr_t)&cpu;
10 const uintptr_t g __attribute__((section("foo"))) = 0;