diff --git a/source/declarations.tex b/source/declarations.tex index 8c86e2ee99..b3c2f9b3e7 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -621,7 +621,8 @@ using handler_t = void (*)(int); extern handler_t ignore; extern void (*ignore)(int); // redeclare \tcode{ignore} -using cell = pair; // error +template struct P { }; +using cell = P; // error: \tcode{cell} not found\iref{basic.scope.pdecl} \end{codeblock} \end{example} The \grammarterm{defining-type-specifier-seq}