tests: add hint directives test

git-svn-id: trunk@15760 -
This commit is contained in:
paul 2010-08-10 04:30:59 +00:00
parent bbdd8e52f1
commit 38da67e08b
2 changed files with 17 additions and 0 deletions

1
.gitattributes vendored
View File

@ -9201,6 +9201,7 @@ tests/test/tgoto.pp svneol=native#text/plain
tests/test/theap.pp svneol=native#text/plain
tests/test/theapthread.pp svneol=native#text/plain
tests/test/thintdir.pp svneol=native#text/plain
tests/test/thintdir1.pp svneol=native#text/pascal
tests/test/timplements1.pp svneol=native#text/plain
tests/test/timplements2.pp svneol=native#text/plain
tests/test/timplements3.pp svneol=native#text/plain

16
tests/test/thintdir1.pp Normal file
View File

@ -0,0 +1,16 @@
program thintdir1;
// test the possibility to use the hint modifiers as regular identifiers
{$mode delphi}
type
deprecated = integer;
const
unimplemented = 1;
platform = 2;
var
experimental: deprecated = unimplemented;
begin
end.