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