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

// Origin: <mikes@nilenet.com>

// Bug: Specialization of implicitly created function should be
// rejected.

template<class T> class blah{};
blah<char>::blah(){}		// { dg-error "" } invalid specialization
int main(){}