Skip to content

Commit

Permalink
[dcl.spec] Add a page break before examples.
Browse files Browse the repository at this point in the history
Partially addresses #4228.
  • Loading branch information
Dawn Perchik committed Sep 27, 2020
1 parent c58b1dd commit a6b3a15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,9 @@
a \grammarterm{typedef-name} is thus a synonym for another type. A
\grammarterm{typedef-name} does not introduce a new type the way a class
declaration\iref{class.name} or enum declaration\iref{dcl.enum} does.

\newpage

\begin{example}
After
\begin{codeblock}
Expand Down Expand Up @@ -1733,6 +1736,9 @@
\end{codeblock}
the \grammarterm{expression-list} shall be a single
\grammarterm{assignment-expression}.

\newpage

\begin{example}
\begin{codeblock}
auto x = 5; // OK: \tcode{x} has type \tcode{int}
Expand Down

0 comments on commit a6b3a15

Please sign in to comment.