aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/generic_field_by_value.elna
blob: 66f9b46cc20d673f14ca13eb904428e391af559d (plain)
1
2
3
4
5
6
7
8
module

type
  Cell#[T] = record
    field: T (* @Error Opaque type 'T' cannot be used as a record field type *)
  end

end.