summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/26_numerics/midpoint/version.cc
blob: 3ccb032bc67c8ae23c1a3ea52896fbce9b052eb3 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-options "-std=gnu++2a" }
// { dg-do preprocess { target c++2a } }

#include <version>

#ifndef __cpp_lib_interpolate
# error "Feature-test macro for midpoint and lerp missing in <version>"
#elif __cpp_lib_interpolate != 201902L
# error "Feature-test macro for midpoint and lerp has wrong value in <version>"
#endif