mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-11 09:30:31 +01:00
+ test for an already fixed report (#14347), added to avoid that it pops up again
git-svn-id: trunk@29793 -
This commit is contained in:
parent
00d41dc9fa
commit
c46cbd3b1a
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -13521,6 +13521,7 @@ tests/webtbs/tw1430.pp svneol=native#text/plain
|
||||
tests/webtbs/tw14307.pp svneol=native#text/plain
|
||||
tests/webtbs/tw14315.pp svneol=native#text/plain
|
||||
tests/webtbs/tw1433.pp svneol=native#text/plain
|
||||
tests/webtbs/tw14347.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw14363.pp svneol=native#text/plain
|
||||
tests/webtbs/tw14388.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw14403.pp svneol=native#text/plain
|
||||
|
||||
15
tests/webtbs/tw14347.pp
Normal file
15
tests/webtbs/tw14347.pp
Normal file
@ -0,0 +1,15 @@
|
||||
{ %OPT=-Sew -Oodfa }
|
||||
program Project1;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
type
|
||||
TRec = record a : Integer; end;
|
||||
PRec = ^TRec;
|
||||
|
||||
var
|
||||
p : PRec;
|
||||
|
||||
begin
|
||||
writeln( sizeof(p^.a)); // warning here!
|
||||
end.
|
||||
Loading…
Reference in New Issue
Block a user