This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34314] New: ICE on invalid code (with variadic templates): tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in template_class_depth
- From: "eric dot niebler at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2007 10:36:49 -0000
- Subject: [Bug c++/34314] New: ICE on invalid code (with variadic templates): tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in template_class_depth
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compile with -std=c++0x
template<typename Fun, typename... Args>
struct call;
template<typename Fun, typename Arg0>
struct call
{
template<typename Sig>
struct result;
template<typename X, typename Y>
struct result<X(Y)>
{
typedef X type;
};
};
--
Summary: ICE on invalid code (with variadic templates): tree
check: expected class â??typeâ??, have â??exceptionalâ??
(error_mark) in template_class_depth
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eric dot niebler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34314