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 | 82d14cddb66c0713d1036bff845e2bfff3231fc0 (patch) | |
tree | dd810ee1628adea9b77fb75de9f50545f5e22b26 /clang/test/CodeGenCXX/cxx11-exception-spec.cpp | |
parent | abc227be822401334a3afe622ad73d50436e7313 (diff) | |
download | llvm-82d14cddb66c0713d1036bff845e2bfff3231fc0.zip llvm-82d14cddb66c0713d1036bff845e2bfff3231fc0.tar.gz llvm-82d14cddb66c0713d1036bff845e2bfff3231fc0.tar.bz2 |
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.
llvm-svn: 197308
Diffstat (limited to 'clang/test/CodeGenCXX/cxx11-exception-spec.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/cxx11-exception-spec.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/cxx11-exception-spec.cpp b/clang/test/CodeGenCXX/cxx11-exception-spec.cpp index 96ea1d7..3b1516b 100644 --- a/clang/test/CodeGenCXX/cxx11-exception-spec.cpp +++ b/clang/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(); |