mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 07:30:31 +08:00
re PR c++/68726 (ice: tree check: expected tree_vec, have error_mark in comp_template_args_with_info, at cp/pt.c:7890)
/cp 2016-02-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/68726 * pt.c (lookup_template_class_1): Check tsubst return value for error_mark_node. /testsuite 2016-02-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/68726 * g++.dg/cpp0x/pr68726.C: New. From-SVN: r233339
This commit is contained in:
parent
26fb38a1d7
commit
0d7d945855
@ -1,3 +1,9 @@
|
||||
2016-02-11 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/68726
|
||||
* pt.c (lookup_template_class_1): Check tsubst return value for
|
||||
error_mark_node.
|
||||
|
||||
2016-02-10 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/68926
|
||||
|
@ -1,3 +1,8 @@
|
||||
2016-02-11 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/68726
|
||||
* g++.dg/cpp0x/pr68726.C: New.
|
||||
|
||||
2016-02-11 Ilya Enkovich <enkovich.gnu@gmail.com>
|
||||
|
||||
* lib/mpx-dg.exp: Fix warning in check_effective_target_mpx
|
||||
|
7
gcc/testsuite/g++.dg/cpp0x/pr68726.C
Normal file
7
gcc/testsuite/g++.dg/cpp0x/pr68726.C
Normal file
@ -0,0 +1,7 @@
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
template <typename> struct A {
|
||||
template <typename, > struct __construct_helper; // { dg-error "expected" }
|
||||
template <typename... _Args>
|
||||
using __has_construct typename __construct_helper<_Args...>::type; // { dg-error "expected" }
|
||||
} struct : A<int> { // { dg-error "expected" }
|
Loading…
x
Reference in New Issue
Block a user