Branch: Tag:

1999-11-23

1999-11-23 04:19:46 by Martin Stjernholm <mast@lysator.liu.se>

Added some type check tests.

Rev: src/testsuite.in:1.232

1: - test_true([["$Id: testsuite.in,v 1.231 1999/11/22 23:34:54 noring Exp $"]]) + test_true([["$Id: testsuite.in,v 1.232 1999/11/23 04:19:46 mast Exp $"]])      cond([[all_constants()->_verify_internals]],   [[
1663:   // type checks   test_compile_error([[} int foo() { return]]);   test_compile_error([[} void foo() { return 1]]); + test_compile([[mapping a; int b; a = b = 0;]]); + test_compile_error([[mapping a; int b; a = b = 1;]]);      // Not yet cataloged   test_any(int i=10; { int i; } return i, 10)