repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash94.C
blob
810aed0a61c6e97a1222e76130ad1f6e4e8fb382
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>
15
void fparser<int>::eval2(int r[2])
16
{
17
struct ObjType {};
18
}
19
20
21
template<class Value_t>
22
void fparser<Value_t>::evaltest
23
()
24
{
25
eval2<false>(0);
26
}
27
28
template class fparser<int>;