* error.c (dump_expr): Don't crash on INDIRECT_REFs whose operands
don't have types.
From-SVN: r26300
1999-04-08 Mark Mitchell <mark@codesourcery.com>
+ * error.c (dump_expr): Don't crash on INDIRECT_REFs whose operands
+ don't have types.
+
* search.c (template_self_reference_p): Tweak.
1999-04-07 Mark Mitchell <mark@codesourcery.com>
else
{
if (TREE_OPERAND (t,0) != NULL_TREE
+ && TREE_TYPE (TREE_OPERAND (t, 0))
&& NEXT_CODE (TREE_OPERAND (t, 0)) == REFERENCE_TYPE)
dump_expr (TREE_OPERAND (t, 0), nop);
else
--- /dev/null
+// Build don't link:
+// Origin: Miniussi <miniussi@ilog.fr>
+
+template <class O>
+struct Str {
+ Str(int& val= (*new int()));
+};
+
+template<class O>
+Str<O>::Str(int& val) {}
+