From 7ddaa3f74d9bd092e225cb8e8f2d64ec27766c96 Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Tue, 22 Aug 2000 01:48:24 +0200
Subject: [PATCH] Added test case which trigs a "Type error: 99" fatal.

Rev: src/testsuite.in:1.322
---
 src/testsuite.in | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/testsuite.in b/src/testsuite.in
index 59647ea702..880aa5f386 100644
--- a/src/testsuite.in
+++ b/src/testsuite.in
@@ -1,4 +1,4 @@
-test_true([["$Id: testsuite.in,v 1.321 2000/08/18 19:36:30 grubba Exp $"]]);
+test_true([["$Id: testsuite.in,v 1.322 2000/08/21 23:48:24 mast Exp $"]]);
 
 cond([[all_constants()->_verify_internals]],
 [[
@@ -45,6 +45,14 @@ test_eval_error([[class Foo {
   Foo()->foo();
 ]])
 
+test_do([[
+  void foo (int i) {
+    multiset res = (<>);
+    if (i) res = res;
+  };
+  foo (1);
+]])
+
 test_any([[int a=0xffffffff; return a+17]], 0x100000010);
 test_any([[int a=0xffffffff; return a-17]], 0xffffffee);
 test_any([[int a=0xffffffff; return a*17]], 0x10ffffffef);
-- 
GitLab