diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 | 
| commit | bfef399519ca9b8a4b4c6b563253bad7e0eeffe0 (patch) | |
| tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/SemaCXX/constexpr-backtrace-limit.cpp | |
| parent | 6a0372513edbc473b538d2f724efac50405d6fef (diff) | |
Diffstat (limited to 'test/SemaCXX/constexpr-backtrace-limit.cpp')
| -rw-r--r-- | test/SemaCXX/constexpr-backtrace-limit.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/test/SemaCXX/constexpr-backtrace-limit.cpp b/test/SemaCXX/constexpr-backtrace-limit.cpp index 9c40eedabd08f..64a26cf299920 100644 --- a/test/SemaCXX/constexpr-backtrace-limit.cpp +++ b/test/SemaCXX/constexpr-backtrace-limit.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++11 -fsyntax-only %s -fconstexpr-backtrace-limit 0 -fconstexpr-depth 4 -fno-caret-diagnostics 2>&1 | FileCheck %s -check-prefix=TEST1 +// RUN: not %clang_cc1 -std=c++11 -fsyntax-only %s -fconstexpr-backtrace-limit 0 -fconstexpr-depth 4 -fno-caret-diagnostics 2>&1 | FileCheck %s -check-prefix=TEST1  // TEST1: constant expression  // TEST1-NEXT: exceeded maximum depth of 4  // TEST1-NEXT: in call to 'recurse(2)' @@ -6,21 +6,21 @@  // TEST1-NEXT: in call to 'recurse(4)'  // TEST1-NEXT: in call to 'recurse(5)' -// RUN: %clang_cc1 -std=c++11 -fsyntax-only %s -fconstexpr-backtrace-limit 2 -fconstexpr-depth 4 -fno-caret-diagnostics 2>&1 | FileCheck %s -check-prefix=TEST2 +// RUN: not %clang_cc1 -std=c++11 -fsyntax-only %s -fconstexpr-backtrace-limit 2 -fconstexpr-depth 4 -fno-caret-diagnostics 2>&1 | FileCheck %s -check-prefix=TEST2  // TEST2: constant expression  // TEST2-NEXT: exceeded maximum depth of 4  // TEST2-NEXT: in call to 'recurse(2)'  // TEST2-NEXT: skipping 2 calls  // TEST2-NEXT: in call to 'recurse(5)' -// RUN: %clang_cc1 -std=c++11 -fsyntax-only %s -fconstexpr-backtrace-limit 2 -fconstexpr-depth 8 -fno-caret-diagnostics 2>&1 | FileCheck %s -check-prefix=TEST3 +// RUN: not %clang_cc1 -std=c++11 -fsyntax-only %s -fconstexpr-backtrace-limit 2 -fconstexpr-depth 8 -fno-caret-diagnostics 2>&1 | FileCheck %s -check-prefix=TEST3  // TEST3: constant expression  // TEST3-NEXT: reinterpret_cast  // TEST3-NEXT: in call to 'recurse(0)'  // TEST3-NEXT: skipping 4 calls  // TEST3-NEXT: in call to 'recurse(5)' -// RUN: %clang_cc1 -std=c++11 -fsyntax-only %s -fconstexpr-backtrace-limit 8 -fconstexpr-depth 8 -fno-caret-diagnostics 2>&1 | FileCheck %s -check-prefix=TEST4 +// RUN: not %clang_cc1 -std=c++11 -fsyntax-only %s -fconstexpr-backtrace-limit 8 -fconstexpr-depth 8 -fno-caret-diagnostics 2>&1 | FileCheck %s -check-prefix=TEST4  // TEST4: constant expression  // TEST4-NEXT: reinterpret_cast  // TEST4-NEXT: in call to 'recurse(0)' | 
