blob: df908f0e8eac930d30cb7dc5ff648b383f2c2d42 [file] [log] [blame]
// { dg-do compile { target c++20 } }
template <class U> struct A
{
template <class T> void spam(decltype([]{}) *s = nullptr) { }
};
void foo()
{
A<int>().spam<int>();
}