fpc/tests/tbf/tb0273.pp

9 lines
125 B
ObjectPascal

{ %FAIL }
// EXPECTED: 'Error: Illegal function result type'
// ACTUAL: gets compiled
type M = function : file;
begin
end.