fpc/tests/test/tuglylabels1.pp
nickysn 391f85f828 + for TP7 compatibility, allow the '&', '$' and '?' characters in the x86 intel
syntax inline asm reader

git-svn-id: trunk@38167 -
2018-02-08 16:54:33 +00:00

24 lines
303 B
ObjectPascal

{ %NORUN }
{ %CPU=i8086,i386,x86_64 }
program tuglylabels1;
{ This test is TP7 compatible }
{$ifdef FPC}
{$asmmode intel}
{$endif FPC}
{ allowed characters in a local label:
@$&_?abcdefghijklmnopqrstuvwxyz0123456789 }
begin
asm
@:
jmp @
@@:
jmp @@
@$&_?@9:
jmp @$&_?@9
end;
end.