1 /* PR middle-end/31490 */
2 /* { dg-do compile } */
3 /* { dg-require-named-sections "" } */
4 /* { dg-require-effective-target ptr32plus } */
6 int cpu (void *attr
) {}
7 const unsigned long x
__attribute__((section("foo"))) = (unsigned long)&cpu
;
8 const unsigned long g
__attribute__((section("foo"))) = 0;