Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
47a700bf78cbf750f96ea0aab1114f82abcbdc94
/
.
/
test
/
CodeGenCXX
/
throw-expression-dtor.cpp
blob: a6f8c1cf04c1b1e005c03bdbd4a642ae9facf78e [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o - -fexceptions | FileCheck %s
// PR7281
class
A
{
public
:
~
A
();
};
class
B
:
public
A
{
void
ice_throw
();
};
void
B
::
ice_throw
()
{
throw
*
this
;
}