================ @@ -162,3 +162,10 @@ struct A { }; A<0>::B a; } + +template <typename T> void shadow() { // expected-note{{template parameter is declared here}} + using arr = int[1]; // expected-warning@+1 {{decomposition declarations are a C++17 extension}} ---------------- erichkeane wrote:
```suggestion using arr = int[1]; // expected-warning@+1 {{decomposition declarations are a C++17 extension}} ``` https://github.com/llvm/llvm-project/pull/129116 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits