mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 15:52:05 +02:00
* Check that two $WARN are OK
git-svn-id: trunk@17869 -
This commit is contained in:
parent
9ec1213be1
commit
29ca78c6e3
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -10461,6 +10461,7 @@ tests/test/tutf82.pp svneol=native#text/plain
|
|||||||
tests/test/tvarpropsetter1.pp svneol=native#text/plain
|
tests/test/tvarpropsetter1.pp svneol=native#text/plain
|
||||||
tests/test/tvarpropsetter2.pp svneol=native#text/plain
|
tests/test/tvarpropsetter2.pp svneol=native#text/plain
|
||||||
tests/test/tvarset1.pp svneol=native#text/plain
|
tests/test/tvarset1.pp svneol=native#text/plain
|
||||||
|
tests/test/twarn1.pp svneol=native#text/pascal
|
||||||
tests/test/tweaklib1.pp svneol=native#text/plain
|
tests/test/tweaklib1.pp svneol=native#text/plain
|
||||||
tests/test/tweaklib2.pp svneol=native#text/plain
|
tests/test/tweaklib2.pp svneol=native#text/plain
|
||||||
tests/test/tweaklib3.pp svneol=native#text/plain
|
tests/test/tweaklib3.pp svneol=native#text/plain
|
||||||
|
12
tests/test/twarn1.pp
Normal file
12
tests/test/twarn1.pp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
program Project1;
|
||||||
|
|
||||||
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
|
var
|
||||||
|
i: integer platform;
|
||||||
|
begin
|
||||||
|
{$warn symbol_platform off}
|
||||||
|
i := 1;
|
||||||
|
{$warn symbol_platform off}
|
||||||
|
i := 2;
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user