]>
Commit | Line | Data |
---|---|---|
881d1689 JW |
1 | // { dg-options "-std=gnu++23" } |
2 | // { dg-do compile { target c++23 } } | |
7cc9022f | 3 | // { dg-require-effective-target hosted } |
881d1689 JW |
4 | |
5 | #include <version> | |
6 | ||
7 | #ifndef __cpp_lib_move_only_function | |
8 | # error "Feature-test macro for move_only_function missing in <version>" | |
9 | #elif __cpp_lib_move_only_function != 202110L | |
10 | # error "Feature-test macro for move_only_function has wrong value in <version>" | |
11 | #endif |