summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/defarg2.C
blob: 3670389c5d0d1ac03e0c0da117b58cf25c149baf (plain)
1
2
3
4
5
6
7
8
9
10
struct X {
    X ();
};

template <int> struct O {
    struct I {
        I (const X & = X());
    };
};
template struct O<2>;