Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6f0bca7a0ababdfe141f7b1c0435f4ff71d1bff5
/
.
/
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
;
}