Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.2
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr31490.c
blob: 966a1b4a50f07e5826552eac7edce1f286cf2398 [
file
] [
log
] [
blame
]
/* PR middle-end/31490 */
/* { dg-do compile } */
/* { dg-require-named-sections "" } */
int
cpu
(
void
*
attr
)
{}
const
unsigned
long
x __attribute__
((
section
(
"foo"
)))
=
(
unsigned
long
)&
cpu
;
const
unsigned
long
g __attribute__
((
section
(
"foo"
)))
=
0
;