summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash27.C
blob: ccc002d1586cfe42ff8dbc2d64b4dd4e7172ea46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }

template<int i> int f (void)
{
        if (__extension__ ({ 1; }))
                return 0;
        return 1;
}

void g (void)
{
        f<1> ();
}