]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/testsuite/26_numerics/lerp/version.cc
libstdc++: Disable hosted-only tests [PR103626]
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 26_numerics / lerp / version.cc
CommitLineData
9017326e
JW
1// { dg-options "-std=gnu++2a" }
2// { dg-do preprocess { target c++2a } }
7cc9022f 3// { dg-require-effective-target hosted }
9017326e
JW
4
5#include <version>
6
7#ifndef __cpp_lib_interpolate
8# error "Feature-test macro for midpoint and lerp missing in <version>"
9#elif __cpp_lib_interpolate != 201902L
10# error "Feature-test macro for midpoint and lerp has wrong value in <version>"
11#endif