mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-05 12:58:29 +02:00
25 lines
268 B
ObjectPascal
25 lines
268 B
ObjectPascal
{ %RESULT=227 }
|
|
{$C+}
|
|
program tassert6;
|
|
|
|
var
|
|
global_boolean : boolean;
|
|
|
|
const
|
|
RESULT_BOOLEAN = false;
|
|
|
|
|
|
|
|
procedure test_assert_reference_global;
|
|
begin
|
|
global_boolean:=RESULT_BOOLEAN;
|
|
assert(global_boolean);
|
|
end;
|
|
|
|
|
|
|
|
|
|
begin
|
|
test_assert_reference_global;
|
|
end.
|