Sign in
ara-mdk
/
platform
/
external
/
clang
/
99f6c3906370df4859674e785453737b17840e67
/
.
/
test
/
CodeGenCXX
/
throw-expression-dtor.cpp
blob: cb4a6c69bdddfdd968f44762fef532f9a6c1b31b [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm-only -verify -fcxx-exceptions -fexceptions
// expected-no-diagnostics
// PR7281
class
A
{
public
:
~
A
();
};
class
B
:
public
A
{
void
ice_throw
();
};
void
B
::
ice_throw
()
{
throw
*
this
;
}