fpc/tests/webtbs/tw23109.pp
2015-12-16 16:37:41 +00:00

15 lines
201 B
ObjectPascal

{ %cpu=x86_64}
{ %skiptarget=win64}
{ %opt=-Cg -vew }
var
global: boolean; public;
begin
asm
movq global@GOTPCREL(%rip), %rax
movb $1, (%rax)
end;
if not global then
halt(1);
end.