[cfe-commits] r105432 - /cfe/trunk/test/CodeGenCXX/throw-expression-dtor.cpp
Eli Friedman
eli.friedman at gmail.com
Thu Jun 3 16:22:25 PDT 2010
Author: efriedma
Date: Thu Jun 3 18:22:25 2010
New Revision: 105432
URL: http://llvm.org/viewvc/llvm-project?rev=105432&view=rev
Log:
Make sure this test doesn't break when we disallow throwing an exception
in -fno-exceptions mode.
Modified:
cfe/trunk/test/CodeGenCXX/throw-expression-dtor.cpp
Modified: cfe/trunk/test/CodeGenCXX/throw-expression-dtor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/throw-expression-dtor.cpp?rev=105432&r1=105431&r2=105432&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/throw-expression-dtor.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/throw-expression-dtor.cpp Thu Jun 3 18:22:25 2010
@@ -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 @@
void B::ice_throw() {
throw *this;
}
-
More information about the cfe-commits
mailing list