Posted to tcl by patthoyts at Wed Nov 07 02:49:23 GMT 2007view raw

  1. ==== if-1.4 else is only allowed with curly braces FAILED
  2. ==== Contents of test case:
  3.  
  4. #lang L
  5. main(void)
  6. {
  7. if (0) puts("1 broken"); else puts("1 even more broken");
  8. }
  9. #lang tcl
  10.  
  11. ---- Result was:
  12. C:/src/L/tests/l-core.test:3: L Error: parse error
  13.  
  14. ---- Result should have been (glob matching):
  15. *3: L Error: syntax error, unexpected T_ELSE
  16.  
  17. ==== if-1.4 FAILED
  18.  
  19. l-regression.test