diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/012/oop.tl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/012/oop.tl b/tests/012/oop.tl index e9c256b8..bab4ab68 100644 --- a/tests/012/oop.tl +++ b/tests/012/oop.tl @@ -80,8 +80,10 @@ (defstruct (ab a : b) () a b) +(defvar foo) + (mtest - (new* (find-struct-type 'ab) a 1) :error + (new* (foo 'ab) a 1) :error (new* ((find-struct-type 'ab)) a 1) #S(ab a 1 b nil) (new* [find-struct-type 'ab] a 1) #S(ab a 1 b nil) (new* ([find-struct-type 'ab] 1 2)) #S(ab a 1 b 2) |