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;
}