Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend
This commit is contained in:
parent
0bd41dc14d
commit
155e31626c
10 changed files with 106 additions and 1 deletions
12
Examples/test-suite/schemerunme/overload_extend_c.scm
Normal file
12
Examples/test-suite/schemerunme/overload_extend_c.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(define f (new-Foo))
|
||||
|
||||
(if (not (= (Foo-test f 3) 1))
|
||||
(error "test integer bad"))
|
||||
|
||||
(if (not (= (Foo-test f "hello") 2))
|
||||
(error "test string bad"))
|
||||
|
||||
(if (not (= (Foo-test f 3.5 2.5) 6.0))
|
||||
(error "test reals bad"))
|
||||
|
||||
(exit 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue