Commit 658269bd by Alexandre Oliva Committed by Alexandre Oliva

* g++.old-deja/g++.eh/tmpl2.C: New test.

From-SVN: r24112
parent 4bd75896
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.eh/tmpl2.C: New test.
1998-12-04 Alexandre Oliva <oliva@dcc.unicamp.br> 1998-12-04 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/using5.C: usified using[567].C here * g++.old-deja/g++.other/using5.C: usified using[567].C here
......
// Build don't link:
// Special g++ flags: -O
// crash test - XFAIL i*86-*-linux*
// Posted by H. J. Lu <hjl@lucon.org>
template<class T>
class FixSeq
{
public:
void append(const T&);
};
class foo
{
public:
void setupIR();
};
typedef FixSeq<foo *> bar;
extern void dummy (foo *);
void *
foobar (bar &x, foo *p)
{
try
{
p -> setupIR();
}
catch(...)
{
dummy (p);
}
x.append(p);
return p;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment