1 // Origin: PR c++/42697
2 // { dg-do compile }
3 
4 template<class Value_t>
5 class fparser
6 {
7     template<bool Option>
8     void eval2(Value_t r[2]);
9 public:
10     void evaltest();
11 };
12 
13 template<>
14 template<bool Option>
eval2(int r[2])15 void fparser<int>::eval2(int r[2])
16 {
17     struct ObjType {};
18 }
19 
20 
21 template<class Value_t>
evaltest()22 void fparser<Value_t>::evaltest
23     ()
24 {
25     eval2<false>(0);
26 }
27 
28 template class fparser<int>;
29