mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-15 22:03:26 +00:00
Estimated hours taken: 1 runtests: A script to test whether the compiler can generate code for each test case. Mmake: Export a target for use by runtests. Add the two new test cases. constructor_arg_names: Test the new functionality that allows programmers to attach names to constructor arguments. middle_rec_labels: Regression test.
7 lines
131 B
Mathematica
7 lines
131 B
Mathematica
:- module constructor_arg_names.
|
|
|
|
:- interface.
|
|
|
|
:- type test ---> f(field1:: int, field2:: string)
|
|
; g(field3:: string, float).
|