aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/assign_record_to_base.elna
blob: 390938651eae5da8abe4bb8540f82c2ff91db8b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
program()
type
  B = record
    x: Int
  end
  R = record(B)
    y: Int
  end

var
  x: ^B
  y: ^R

begin
  x := y
end.