mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:46:00 +02:00
Added further tests regarding the topic from revision 21687
git-svn-id: trunk@21688 -
This commit is contained in:
parent
8c95ea039f
commit
2d8796fa1a
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -10723,6 +10723,10 @@ tests/test/tgeneric8.pp svneol=native#text/plain
|
|||||||
tests/test/tgeneric80.pp svneol=native#text/pascal
|
tests/test/tgeneric80.pp svneol=native#text/pascal
|
||||||
tests/test/tgeneric81.pp svneol=native#text/pascal
|
tests/test/tgeneric81.pp svneol=native#text/pascal
|
||||||
tests/test/tgeneric82.pp svneol=native#text/pascal
|
tests/test/tgeneric82.pp svneol=native#text/pascal
|
||||||
|
tests/test/tgeneric83.pp svneol=native#text/pascal
|
||||||
|
tests/test/tgeneric84.pp svneol=native#text/pascal
|
||||||
|
tests/test/tgeneric85.pp svneol=native#text/pascal
|
||||||
|
tests/test/tgeneric86.pp svneol=native#text/pascal
|
||||||
tests/test/tgeneric9.pp svneol=native#text/plain
|
tests/test/tgeneric9.pp svneol=native#text/plain
|
||||||
tests/test/tgoto.pp svneol=native#text/plain
|
tests/test/tgoto.pp svneol=native#text/plain
|
||||||
tests/test/theap.pp svneol=native#text/plain
|
tests/test/theap.pp svneol=native#text/plain
|
||||||
|
16
tests/test/tgeneric83.pp
Normal file
16
tests/test/tgeneric83.pp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ %FAIL }
|
||||||
|
|
||||||
|
program tgeneric83;
|
||||||
|
|
||||||
|
{$mode delphi}
|
||||||
|
|
||||||
|
type
|
||||||
|
TTest<T> = record
|
||||||
|
end;
|
||||||
|
|
||||||
|
const
|
||||||
|
Test: ^TTest = Nil;
|
||||||
|
|
||||||
|
begin
|
||||||
|
|
||||||
|
end.
|
14
tests/test/tgeneric84.pp
Normal file
14
tests/test/tgeneric84.pp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{ %FAIL }
|
||||||
|
|
||||||
|
program tgeneric84;
|
||||||
|
|
||||||
|
{$mode objfpc}
|
||||||
|
|
||||||
|
type
|
||||||
|
generic TTest<T> = record
|
||||||
|
end;
|
||||||
|
|
||||||
|
PTest = ^TTest;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
16
tests/test/tgeneric85.pp
Normal file
16
tests/test/tgeneric85.pp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ %FAIL }
|
||||||
|
|
||||||
|
program tgeneric85;
|
||||||
|
|
||||||
|
{$mode objfpc}
|
||||||
|
|
||||||
|
type
|
||||||
|
generic TTest<T> = record
|
||||||
|
end;
|
||||||
|
|
||||||
|
const
|
||||||
|
Test: ^TTest = Nil;
|
||||||
|
|
||||||
|
begin
|
||||||
|
|
||||||
|
end.
|
17
tests/test/tgeneric86.pp
Normal file
17
tests/test/tgeneric86.pp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ %NORUN }
|
||||||
|
|
||||||
|
program tgeneric86;
|
||||||
|
|
||||||
|
{$mode objfpc}{$H+}
|
||||||
|
{$modeswitch advancedrecords}
|
||||||
|
|
||||||
|
type
|
||||||
|
generic TTest<T> = record
|
||||||
|
type
|
||||||
|
PTest = ^TTest;
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user