Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
asm1.C
blob: 741759fd2f45c468d5e2ac82663e7db7041ea16a [
file
] [
log
] [
blame
]
// PR c++/24761
// { dg-do compile }
template
<int>
int
f
(
int
i
)
{
asm
(
"# %0 %1"
:
"+r"
(
i
));
return
i
;
}
int
main
()
{
return
f
<
0
>
(
0
)
+
f
<
1
>
(
0
);
}