Sign in
ara-mdk
/
platform
/
external
/
clang
/
70e82dc7a254054f0de491493489da162e63c364
/
.
/
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
;
}