diff --git a/source/templates.tex b/source/templates.tex index 9ef3133aef..a39ebc064c 100644 --- a/source/templates.tex +++ b/source/templates.tex @@ -7016,7 +7016,7 @@ template int *var; // error: instantiated variable has type \tcode{int} template auto av = T(); -template int av; // OK, variable with type \tcode{int} can be redeclared with type \keyword{auto} +template int av; // OK, variable with type \tcode{auto} can be redeclared with type \keyword{int} template auto f() {} template void f(); // error: function with deduced return type