Newer
Older
zweic / tests / 2 / errorRec3.txt.zwei
@glproj03 glproj03 on 24 Nov 2005 301 bytes added eyers testfiles
  1. //this tests if we can recover from a missing "}" (not even the java compiler can do that ;-)
  2.  
  3. class Error1 {
  4.  
  5. Type ident;
  6. Type ident;
  7. Type ident() {
  8. }
  9. //Error 1: missing "}"
  10. class Error2 {
  11.  
  12. Type ident;
  13. Type ident() {
  14. return //Error 2: missing expression
  15. }
  16. }
  17. true