mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 20:07:56 +02:00
9 lines
125 B
ObjectPascal
9 lines
125 B
ObjectPascal
{ %FAIL }
|
|
|
|
// EXPECTED: 'Error: Illegal function result type'
|
|
// ACTUAL: gets compiled
|
|
type M = function : file;
|
|
|
|
begin
|
|
end.
|