summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/expr7.C
blob: 81d977e3caa5fca45037cf69de1d8e020772472c (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }

template<int I> struct A { };
template<int I, int J> int f(A<I+J>);
int g() {
  A<3> a;
  return f<1,2>(a);
}