MyDeveloperDay added a comment. Sorry my mistake, the 1st 4 I want to keep because they related to the unit tests for D113393: [c++2b] Implement P0849R8 auto(x) <https://reviews.llvm.org/D113393>
foo(auto()); // expected-error {{initializer for functional-style cast to 'auto' is empty}} foo(auto{}); // expected-error {{initializer for functional-style cast to 'auto' is empty}} foo(auto({})); // expected-error {{cannot deduce actual type for 'auto' from parenthesized initializer list}} foo(auto{{}}); // expected-error {{cannot deduce actual type for 'auto' from nested initializer list}} CHANGES SINCE LAST ACTION https://reviews.llvm.org/D113826/new/ https://reviews.llvm.org/D113826 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits