summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/defarg1.C
blob: 1b0e4a24a15f0e5a65aca1ddfd87f610997b223a (plain)
1
2
3
4
5
6
7
struct Outer {
    template <int I, int J=I> struct Inner {};
};

void f() {
  Outer::Inner<2> i;
}