fpc/tests/test/talignrecbad2.pp
J. Gareth "Curious Kit" Moreton 3e11b0e870 * New tests for aligned records
2022-05-09 20:03:44 +00:00

12 lines
199 B
ObjectPascal

{ %FAIL }
program talignrecbad2;
{ Alignment must be a power of 2 between 1 and 64... -128 should return a compiler error }
type BadAlignment = record
Field: Integer;
end align -128;
begin
end.