diff options
author | John McCall <rjmccall@apple.com> | 2010-04-20 00:22:43 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-04-20 00:22:43 +0000 |
commit | 75b4746e7dd7904f77032373bb2ec536f132b1e5 (patch) | |
tree | b7ca0bdc497c854c43b7614abd8bdbdb1b2f493f /clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp | |
parent | 92a4685dd2a4b91edb4f87e7cfcdbc8a2669082a (diff) | |
download | bcm5719-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.cpp | 2 |
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 { |