From 099be6351ac1cd5f3e854de2959566a2948190e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 30 Mar 2000 21:43:01 +0200 Subject: [PATCH] Added a few tests of function-type syntax. Rev: src/testsuite.in:1.291 --- src/testsuite.in | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/testsuite.in b/src/testsuite.in index 82df86fadb..5a1d923620 100644 --- a/src/testsuite.in +++ b/src/testsuite.in @@ -1,4 +1,4 @@ -test_true([["$Id: testsuite.in,v 1.290 2000/03/30 09:54:18 hubbe Exp $"]]); +test_true([["$Id: testsuite.in,v 1.291 2000/03/30 19:43:01 grubba Exp $"]]); cond([[all_constants()->_verify_internals]], [[ @@ -130,6 +130,18 @@ test_compile_any([[ mapping(int:string) foo = ([FOO: "foo"]); ]]) +test_compile_any([[ + function(...:int) foo; +]]); + +test_compile_any([[ + function(,...:int) foo; +]]); + +test_compile_any([[ + function(string,...:int) foo; +]]); + test_any([[return class Z { string bonk() { return "oiff"; } -- GitLab