mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 22:10:19 +02:00
* bug #1858 testing
This commit is contained in:
parent
de0d0678f5
commit
ec538658c6
31
tests/webtbs/tw1858.pp
Normal file
31
tests/webtbs/tw1858.pp
Normal file
@ -0,0 +1,31 @@
|
||||
{ %RESULTCODE=1 }
|
||||
{ Source provided for Free Pascal Bug Report 1858 }
|
||||
{ Submitted by "Mattias Gaertner" on 2002-03-07 }
|
||||
{ e-mail: nc-gaertnma@netcologne.de }
|
||||
{ expanded for more testing... }
|
||||
{ Should be tested on systems which detect reads of nil pointers }
|
||||
unit test1;
|
||||
|
||||
|
||||
interface
|
||||
|
||||
const
|
||||
|
||||
a : char = '#';
|
||||
b = a + 'panic';
|
||||
|
||||
c : set of byte = [0,1,2,3];
|
||||
d = c + [4,5,6];
|
||||
|
||||
implementation
|
||||
|
||||
end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.1 2002-03-07 21:40:56 carl
|
||||
* bug #1858 testing
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user