fpc/tests/webtbf/tw25215.pp
svenbarth d908dbeec1 Fix for Mantis #25215.
compiler/scanner.pas, tscannerfile.readtoken:
  * after trying to read a _INTCONST check whether a valid first character for an identifier follows and give a syntax error if that is not the case

+ added test

git-svn-id: trunk@25835 -
2013-10-20 12:15:49 +00:00

10 lines
82 B
ObjectPascal

{ %FAIL }
program tw25215;
var
&:integer;
begin
writeln(&);
//readln;
end.