blob: dac08e10a0f2f2a8311c1d6b383f37cc3c017aa3 (
plain)
1
2
3
4
5
6
|
// PR c++/104410
// { dg-do compile { target c++20 } }
template<class T> constexpr bool use_func_v{};
template<class T> void f() requires use_func_v<T> || true { }
template void f<int>();
|