In the following code, the init-capture of the lambda has the same name as the NTTP `i`, which should not be allowed. ```c++ template <int i> int f() { return [i = 0] { return i; }(); } int i = f<0>(); ``` This is diagnosed by GCC and EDG. See https://compiler-explorer.com/z/oh7MhabG9.