pastebin

Paste Search Dynamic
Recent pastes
mymacro
  1. #include <stdio.h>
  2.  
  3. #define MYMACRO(x) if (1) { x; } else
  4.  
  5. int main(void)
  6. {
  7.         int x = 0;
  8.  
  9.         if (x == 0)
  10.                 MYMACRO( x = 4; x *= 8; ) // <--- compile error, no semicolon
  11.                 x = -1;
  12.  
  13.         printf("result is %dn", x);
  14.  
  15.         return 0;
  16. }
  17.  
Parsed in 0.005 seconds