%\pagebreak
\section{Restrictions on the \kcode{atomic} Construct}
\label{sec:atomic_restrict}
\index{constructs!atomic@\kcode{atomic}}
\index{atomic construct@\kcode{atomic} construct}

The following non-conforming examples illustrate the restrictions on the \kcode{atomic} 
construct. 

\cexample[3.1]{atomic_restrict}{1}

\fexample[3.1]{atomic_restrict}{1}

\cexample[3.1]{atomic_restrict}{2}

\begin{fortranspecific}
The following example is non-conforming because \ucode{I} and \ucode{R} reference 
the same location but have different types.

\fnexample[3.1]{atomic_restrict}{2}

Although the following example might work on some implementations, this is also 
non-conforming:

\fnexample[3.1]{atomic_restrict}{3}
\end{fortranspecific}

