diff options
Diffstat (limited to 'clang/test/AST/Interp/cond.cpp')
-rw-r--r-- | clang/test/AST/Interp/cond.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/test/AST/Interp/cond.cpp b/clang/test/AST/Interp/cond.cpp deleted file mode 100644 index 8a5a318c216..00000000000 --- a/clang/test/AST/Interp/cond.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// RUN: %clang_cc1 -std=c++17 -fsyntax-only -fforce-experimental-new-constant-interpreter %s -verify -// RUN: %clang_cc1 -std=c++17 -fsyntax-only %s -verify -// expected-no-diagnostics - -constexpr int cond_then_else(int a, int b) { - if (a < b) { - return b - a; - } else { - return a - b; - } -} |