[Clang] Use C++17 in constant-builtins-fmax.cpp test
authorEvgeny Shulgin <izaronplatz@gmail.com>
Fri, 7 Oct 2022 20:54:39 +0000 (20:54 +0000)
committerEvgeny Shulgin <izaronplatz@gmail.com>
Fri, 7 Oct 2022 21:31:38 +0000 (21:31 +0000)
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

index f44c63a..c2fd97a 100644 (file)
@@ -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("");