[PATCH] D135486: [Clang] Use C++17 in constant-builtins-fmax.cpp test

Evgeny Shulgin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 7 14:32:10 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc585a44651f4: [Clang] Use C++17 in constant-builtins-fmax.cpp test (authored by Izaron).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135486/new/

https://reviews.llvm.org/D135486

Files:
  clang/test/Sema/constant-builtins-fmax.cpp


Index: clang/test/Sema/constant-builtins-fmax.cpp
===================================================================
--- clang/test/Sema/constant-builtins-fmax.cpp
+++ 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("");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135486.466183.patch
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221007/622d79fd/attachment.bin>


More information about the cfe-commits mailing list