summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit25.C
blob: 0175d9f4f4e84280cb04ecdc9c4b893c8fe81f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// GROUPS passed templates
template <int I>
class S {};

template <int I, class T>
void foo(T t, S<I>);

void bar()
{
  S<3> s3;
  foo<3>("abc", s3);
}