modernc.org/ccgo/v3@v3.16.14/lib/testdata/tcc-0.9.27/tests/pp/15.c (about)

     1  // insert a space between two tokens if otherwise they
     2  // would form a single token when read back
     3  
     4  #define n(x) x
     5  
     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);
    10  
    11  // not a hex float
    12  return n(0x1E)n(-1);
    13  
    14  // unlike gcc but correct
    15  // XXX: return n(x)+n(x)-n(1)+n(1)-2;
    16  
    17  // unlike gcc, but cannot appear in valid C
    18  // XXX: return n(x)n(x)n(1)n(2)n(x);