Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
mangle-1.c
blob: 6797bc2436f49c445e2eb805ef6b01dd568afc6b [
file
] [
log
] [
blame
]
#if __nvptx__
/* Doesn't like . in labels. */
#define
SEP
"$"
#else
#define
SEP
"."
#endif
int
foo
(
void
)
{
static
int
x
asm
(
"x"
)
=
3
;
return
x
++;
}
int
X2
asm
(
"x"
SEP
"0"
)
=
4
;
int
X3
asm
(
"_x"
SEP
"0"
)
=
5
;