diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-14 04:49:06 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-14 04:49:06 +0000 |
commit | 7dff0556ed1818f4bb06ff002fece4b9996ff95c (patch) | |
tree | ee703a0a0e66005f58fa8544ccc18e2e78078e0b /test/CodeGenCXX/cxx11-exception-spec.cpp | |
parent | b300e5bbaa71a937629ab0f6034d434f75363bd6 (diff) |
Remove 'not' from some CodeGen tests
These were just missing an expected-no-diagnostics directive.
Also add -std=c++11 to a test warning noisly about extensions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197308 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/cxx11-exception-spec.cpp')
-rw-r--r-- | test/CodeGenCXX/cxx11-exception-spec.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenCXX/cxx11-exception-spec.cpp b/test/CodeGenCXX/cxx11-exception-spec.cpp index 96ea1d7f00..3b1516b925 100644 --- a/test/CodeGenCXX/cxx11-exception-spec.cpp +++ b/test/CodeGenCXX/cxx11-exception-spec.cpp @@ -1,4 +1,5 @@ -// RUN: not %clang_cc1 -std=c++11 -emit-llvm %s -o - -verify -fexceptions -fcxx-exceptions -triple x86_64-linux-gnu | FileCheck %s +// RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o - -verify -fexceptions -fcxx-exceptions -triple x86_64-linux-gnu | FileCheck %s +// expected-no-diagnostics void h(); |