From c585a44651f485c1a10fefdc6625ad998c05c61c Mon Sep 17 00:00:00 2001 From: Evgeny Shulgin Date: Fri, 7 Oct 2022 20:54:39 +0000 Subject: [PATCH] [Clang] Use C++17 in constant-builtins-fmax.cpp test Add `-std=c++17` to the test so that buildbot won't fail Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D135486 --- clang/test/Sema/constant-builtins-fmax.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Sema/constant-builtins-fmax.cpp b/clang/test/Sema/constant-builtins-fmax.cpp index f44c63af94cf..c2fd97a4df63 100644 --- a/clang/test/Sema/constant-builtins-fmax.cpp +++ b/clang/test/Sema/constant-builtins-fmax.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -std=c++17 -fsyntax-only -verify %s // expected-no-diagnostics constexpr double NaN = __builtin_nan("");