forked from OSchip/llvm-project
[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
This commit is contained in:
parent
27ef42bec8
commit
c585a44651
|
@ -1,4 +1,4 @@
|
||||||
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
// RUN: %clang_cc1 -std=c++17 -fsyntax-only -verify %s
|
||||||
// expected-no-diagnostics
|
// expected-no-diagnostics
|
||||||
|
|
||||||
constexpr double NaN = __builtin_nan("");
|
constexpr double NaN = __builtin_nan("");
|
||||||
|
|
Loading…
Reference in New Issue