test for #3219
This commit is contained in:
parent
d1a1247ecd
commit
1e4a811e04
19
TestSuite/nested7.pas
Normal file
19
TestSuite/nested7.pas
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
type
|
||||
NewSet1<T> = class
|
||||
end;
|
||||
|
||||
procedure Test2;
|
||||
var b1 := new NewSet1<integer>;
|
||||
|
||||
procedure Nested;
|
||||
begin
|
||||
assert(b1 <> nil);
|
||||
end;
|
||||
|
||||
begin
|
||||
Nested;
|
||||
end;
|
||||
|
||||
begin
|
||||
Test2;
|
||||
end.
|
||||
Loading…
Reference in a new issue