summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/template2.C
blob: cb1d674ea825d7155cc412751ce2391f3683ea7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// GROUPS passed templates
template <class Q>
class Conc {
public:
	static int body();
};

template <class Q>
int Conc<Q>::body() {return 0;}

int main () {
	Conc<int> s2;
}