[Bug c++/108206] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in merge_default_template_args, at cp/decl.cc:1563 since r12-7562-gfe548eb8436f3906

2022-12-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108206 Martin Liška changed: What|Removed |Added Summary|ICE: tree check: expected |ICE: tree check: expected

[Bug c++/108206] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in merge_default_template_args, at cp/decl.cc:1563

2022-12-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108206 --- Comment #1 from Arseny Solokha --- > % g++-13 -c vph5xonf.cc > vph5xonf.cc:1:11: error: 'WrongType' has not been declared > 1 | template void foo (T1); > | ^ > vph5xonf.cc:2:11: error: 'WrongType' has not been