Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr31490.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR middle-end/31490 */ /* { dg-do compile } */ /* { dg-require-named-sections "" } */ /* { dg-require-effective-target ptr32plus } */ __extension__ typedef __UINTPTR_TYPE__ uintptr_t; int cpu (void *attr) {} const uintptr_t x __attribute__((section("foo"))) = (uintptr_t)&cpu; const uintptr_t g __attribute__((section("foo"))) = 0;