If Test
=======

The following directive causes an error.

.. if:: $a = 4/0;

   This text should not appear.

An if directive with no content is an error.

.. if:: 1

An if directive with no arguments is also an error.

.. if::

   There was no argument.

An if directive with an option is also a problem.

.. if:: 1
   :nosuchoption:

   Option causes an error.

A paragraph.