+ 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:
florian 2015-02-22 20:33:01 +00:00
parent 00d41dc9fa
commit c46cbd3b1a
2 changed files with 16 additions and 0 deletions

1
.gitattributes vendored
View File

@ -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
View 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.