view tests/t28.c @ 162:82cc6fa54b01

newline during a macro invocation counts as space. Behavior differs from GCC in that empty lines in the argument list are still suppressed.
author Joerg Sonnenberger <joerg@bec.de>
date Fri, 27 Feb 2015 02:53:12 +0100
parents cb08e397ce7b
children
line wrap: on
line source

#if 1
. right

# if 1
.. right
# elif 1
.. wrong
# elif 0
.. wrong
# else
.. wrong
# endif

#elif 1
. wrong

# if 1
.. wrong
# elif 1
.. wrong
# elif 0
.. wrong
# else
.. wrong
# endif

#elif 0
. wrong

# if 1
.. wrong
# elif 1
.. wrong
# elif 0
.. wrong
# else
.. wrong
# endif

#else
. wrong

# if 1
.. wrong
# elif 1
.. wrong
# elif 0
.. wrong
# else
.. wrong
# endif

#endif