annotate tests/t16.c @ 106:ecec7c16e3ba

add a couple more tests, taken from the 2010 tech-toolchain thread (one was from der Mouse, the other prompted by something he said)
author David A. Holland
date Tue, 11 Jun 2013 11:35:27 -0400
parents 0cd5a1d55ed6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
52
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
1 #define a() x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
2 a()
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
3 a ()
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
4 #define b(p) p
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
5 x/**/b(1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
6 x/**/b (1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
7 x/**/b()/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
8 #define c(p,q) p/**/q
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
9 x/**/c(1,2)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
10 x/**/c(1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
11 x/**/c()/**/x