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