lichray added a comment. The standard hasn't allowed deducing any placeholder type without an initializer (10.1.7.4.1 [dcl.type.auto.deduct]/2) yet.
It's unclear to me what extern A x; wants to archive. Usually when people writing `extern` then expect an initializer to appear somewhere else, but with this declaration, defining A x = ...; later may fail by resolving to a different type, which feels... interesting. https://reviews.llvm.org/D38216 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits