Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
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
;
};