fpc/tests/tbf/tb0252b.pp
Jonas Maebe b8ed0fac5d * give an error when trying to get the address of an element of a dynamic
string in a typed constant, like Delphi (instead of generating a bogus
    address)

git-svn-id: trunk@33958 -
2016-06-12 09:20:57 +00:00

10 lines
86 B
ObjectPascal

{ %FAIL }
const
w : widestring = 'abcdef';
pw : pwidechar = @w[3];
begin
end.