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