// PR c++/119401 // { dg-do compile { target c++20 } } template struct B {}; template struct A { void f(B<[]{}>) {} }; auto t = &A<0>::f; // A<0>::f(B::{lambda()#1}{}>) // { dg-final { scan-assembler "_ZN1AILi0EE1fE1BIXtlNS0_UlvE_EEEE" { xfail *-*-* } } }