From a3a6c2e4c3c5c6ae86af1b3adbce70e98fba42e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Sun, 19 Apr 1998 19:37:41 -0700 Subject: [PATCH] more tests added Rev: src/testsuite.in:1.95 --- src/testsuite.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/testsuite.in b/src/testsuite.in index 2fa86e3b89..ca1357ba8c 100644 --- a/src/testsuite.in +++ b/src/testsuite.in @@ -1,4 +1,4 @@ -test_true([["$Id: testsuite.in,v 1.94 1998/04/18 06:29:32 hubbe Exp $"]]) +test_true([["$Id: testsuite.in,v 1.95 1998/04/20 02:37:41 hubbe Exp $"]]) cond([[_verify_internals]], [[ test_do(_verify_internals()) @@ -25,6 +25,11 @@ test_compile_any([[void foo(array(Stdio.FILE) f) {}]]) test_compile_any([[Stdio.File foo(array(Stdio.FILE) f) { return f[0]; }]]) test_compile([[Stdio.File foo=Stdio.FILE();]]) +test_compile_error([[constant x=class {}(); ]]) +cond( [[ master()->resolv("Gmp")->mpz ]], +[[ + test_compile_error([[object x = Gmp.mpz(17); constant y = x;]]) +]]) test_any([[object(Stdio.File) f; f=Stdio.File(); return 1]],1) test_compile([[int t=gauge { string foo; };]]) test_compile_any([[class { object(Stdio.FILE) f; void create() { f=Stdio.FILE(); }}]]) @@ -1590,6 +1595,9 @@ return 1; // #include // FIXME add test for #include +test_compile_any([[#include <simulate.h> +]]) + // foop define(do_test_foop,[[ -- GitLab