about CONST_WANTED & VT_NONCONST
[tinycc.git] / tests / pp / 15.c
blobcf13f9a892760bf0067c51ad667d58e1ab7ea5ee
1 // insert a space between two tokens if otherwise they
2 // would form a single token when read back
4 #define n(x) x
6 return (n(long)n(double))d;
7 return n(A)n(++)n(+)n(B);
8 return n(A)n(+)n(++)n(B);
9 return n(A)n(++)n(+)n(+)n(B);
11 // not a hex float
12 return n(0x1E)n(-1);
14 // unlike gcc but correct
15 // XXX: return n(x)+n(x)-n(1)+n(1)-2;
17 // unlike gcc, but cannot appear in valid C
18 // XXX: return n(x)n(x)n(1)n(2)n(x);