Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
;
}