================ @@ -58,10 +58,8 @@ struct Base { }; struct Derived final : Base { - virtual ~Derived() = defaul; // #default + virtual ~Derived() = defaul; // expected-error {{use of undeclared identifier 'defaul'}} ---------------- efriedma-quic wrote:
I would sort of expect us to try to do typo correction here: we know we're expecting one of a few keywords. Maybe worth filing a bug, https://github.com/llvm/llvm-project/pull/143423 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits