/* Check that one can use integral template argument for memory model argument * in atomic SFINAE. */ // { dg-do compile { target c++17 } } #include template struct is_available : std::false_type {}; template struct is_available(), std::declval(), I)) >> : std::true_type {}; static_assert(is_available::value == true); static_assert(is_available::value == false);