blob: 1a32275fdf51224afc6a544c777f965671ff3bce [file] [log] [blame]
// { dg-options "-std=gnu++20" }
// { dg-do compile { target c++20 } }
#include <version>
#ifndef __cpp_lib_is_layout_compatible
# error "Feature test macro for is_layout_compatible is missing in <version>"
#elif __cpp_lib_is_pointer_interconvertible < 201907L
# error "Feature test macro for is_layout_compatible has wrong value in <version>"
#endif