Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
stmtexpr2.C
blob: 36c0fccebcd1c6d8c76b87eea0b448dfedb3b702 [
file
] [
log
] [
blame
]
// { dg-do run }
extern
"C"
void
abort
();
int
i
;
void
g
()
{
i
++;
}
template
<
class
T
>
void
f
(
T
)
{
__extension__
({
g
();});
}
int
main
()
{
f
(
3.0
);
if
(
i
!=
1
)
abort
();
return
0
;
}