1 2 3 4 5 6 7 8 9 10
module type R = record x: Int end var r := { const R; x: 1 } (* @Error Record constructor cannot have 'const' qualifier *) end.