SHARE
TWEET

Comment strip test case

a guest Nov 5th, 2012 49 Never
  1. // Single line comment
  2. // Still single line comment /*
  3. /* Same line */ int main() { /* Another one */ int i; // i++
  4. /* Tricky // comment */
  5.  
  6. /* Multi layer
  7. /* jkdshfksd
  8. /* inside
  9. */
  10.  
  11. /* Multi line comment
  12. // Inside multi line comment
  13. */
  14. char *a =
  15. "sfksjd/*hfjkhk \\\
  16. /* inside string \
  17. // still inside \n\
  18. ";
  19. // */
  20. return 0;
  21. }
RAW Paste Data
Top