Make sure this test doesn't break when we disallow throwing an exception

in -fno-exceptions mode.

llvm-svn: 105432
This commit is contained in:
Eli Friedman 2010-06-03 23:22:25 +00:00
parent b30b81edb6
commit cd70980c8e
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// RUN: %clang_cc1 %s -emit-llvm-only -verify
// RUN: %clang_cc1 %s -emit-llvm -o - -fexceptions | FileCheck %s
// PR7281
class A {
@ -11,4 +11,3 @@ class B : public A {
void B::ice_throw() {
throw *this;
}