aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash27.C
blob: f52f1ba9e0271f9fce5efc7f0b26c32704340751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Build don't link:

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

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