summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-04-20 00:22:43 +0000
committerJohn McCall <rjmccall@apple.com>2010-04-20 00:22:43 +0000
commit75b4746e7dd7904f77032373bb2ec536f132b1e5 (patch)
treeb7ca0bdc497c854c43b7614abd8bdbdb1b2f493f /clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp
parent92a4685dd2a4b91edb4f87e7cfcdbc8a2669082a (diff)
downloadbcm5719-llvm-75b4746e7dd7904f77032373bb2ec536f132b1e5.tar.gz
bcm5719-llvm-75b4746e7dd7904f77032373bb2ec536f132b1e5.zip
Don't bother looking for (or diagnosing problems with) the 'operator delete'
associated with a new expression if -fno-exceptions is set. llvm-svn: 101841
Diffstat (limited to 'clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp')
-rw-r--r--clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp b/clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp
index c188e1e25e0..4c924b137cc 100644
--- a/clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp
+++ b/clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x -fexceptions %s
typedef __SIZE_TYPE__ size_t;
struct S {
OpenPOWER on IntegriCloud