• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 %s -emit-llvm-only -verify -fcxx-exceptions -fexceptions
2 // PR7281
3 
4 class A {
5 public:
6     ~A();
7 };
8 class B : public A {
9     void ice_throw();
10 };
ice_throw()11 void B::ice_throw() {
12     throw *this;
13 }
14