From 28236969b8a3185e68c96e7511a4141838103254 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Sat, 27 Nov 1999 14:59:17 +0100 Subject: [PATCH] Test a compile error that is a little too fatal right now. ;) Rev: src/testsuite.in:1.240 --- src/testsuite.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/testsuite.in b/src/testsuite.in index e40f38b03c..90ec04df58 100644 --- a/src/testsuite.in +++ b/src/testsuite.in @@ -1,4 +1,4 @@ -test_true([["$Id: testsuite.in,v 1.239 1999/11/25 00:56:27 hubbe Exp $"]]); +test_true([["$Id: testsuite.in,v 1.240 1999/11/27 13:59:17 mast Exp $"]]); cond([[all_constants()->_verify_internals]], [[ @@ -247,6 +247,10 @@ test_compile_error_low([[ mixed foo(mixed bar) { return 1/foo; } ]]) +test_compile_error_low([[ + class A {int wrong = "bogus"; void create() {}} + class B {inherit A;} +]]) test_compile([[float x=(gauge { return; },1.0);]]) -- GitLab