]>
git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/20_util/unreachable/1.cc
1 // { dg-do compile { target c++23 } }
2 // { dg-add-options no_pch }
6 #ifndef __cpp_lib_unreachable
7 # error "Feature-test macro for unreachable missing in <utility>"
8 #elif __cpp_lib_unreachable != 202202L
9 # error "Feature-test macro for unreachable has wrong value in <utility>"
17 } // { dg-bogus "control reaches end of non-void function" }