You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// RUN: %clang_cc1 %s -emit-llvm-only -verify -triple %itanium_abi_triple -fcxx-exceptions -fexceptions
|
|
// expected-no-diagnostics
|
|
// PR7281
|
|
|
|
class A {
|
|
public:
|
|
~A();
|
|
};
|
|
class B : public A {
|
|
void ice_throw();
|
|
};
|
|
void B::ice_throw() {
|
|
throw *this;
|
|
}
|