Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr31490.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
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;