summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/parse/constructor2.C
blob: e514e9397e9278ed7143b7f0cfe4c89a056d10e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/14260

template <class TClass> 
class T 
{ 
public: 
  T(short,short f=0) {} 
  T<TClass>(int f) {} 
  T<TClass>(int f=0,const char* b=0) {} 
}; 

OpenPOWER on IntegriCloud