diff options
Diffstat (limited to 'testsuite/fail_compilation/generic_field_by_value.elna')
| -rw-r--r-- | testsuite/fail_compilation/generic_field_by_value.elna | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/generic_field_by_value.elna b/testsuite/fail_compilation/generic_field_by_value.elna new file mode 100644 index 0000000..66f9b46 --- /dev/null +++ b/testsuite/fail_compilation/generic_field_by_value.elna @@ -0,0 +1,8 @@ +module + +type + Cell#[T] = record + field: T (* @Error Opaque type 'T' cannot be used as a record field type *) + end + +end. |
