[PATCH] D38216: [C++17] Fix class template argument deduction for default constructors without an initializer

Zhihao Yuan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 17 14:59:23 PDT 2018


lichray added a comment.

LGTM



================
Comment at: test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.class.deduct/p1.cpp:17
 };
 extern A x; // expected-error {{requires an initializer}}
----------------
Please add one more test to the end of the file saying
```
static A y;
```
as a remainder to the readers.


https://reviews.llvm.org/D38216





More information about the cfe-commits mailing list