mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-15 21:27:45 +02:00
* tests have to fail
* "fixed" tests so they also fail on 32 bit platforms git-svn-id: trunk@13149 -
This commit is contained in:
parent
726764be0b
commit
ea356808b1
@ -1,7 +1,10 @@
|
||||
{ %fail }
|
||||
|
||||
// check whether enums can NOT be casted to object references; this
|
||||
// should NOT work in objfpc mode (see also tbs/tb0554.pp)
|
||||
{$mode objfpc}
|
||||
|
||||
{$packenum 2}
|
||||
type
|
||||
TEnum = (a, b, c);
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
{ %fail }
|
||||
|
||||
// check whether integers can NOT be casted to object references; this
|
||||
// should NOT work in objfpc mode (see also tbs/tb0554.pp)
|
||||
{$mode objfpc}
|
||||
|
||||
var
|
||||
i : Integer;
|
||||
i : Word;
|
||||
o : TObject;
|
||||
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user