Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
eh4.C
blob: 621a0511a81084d8ad88b0f4a028335833fda140 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Origin: Jean-Marc Bourguet <bourguet@cadence.com>
class
foo
{
public
:
foo
()
{};
void
throwMe
()
{
throw
*
this
;
// { dg-error "" } cannot be used in throw-expression
};
virtual
void
test
()
=
0
;
};