blob: 8752d0100c6a1772c2a214167e9c99049f4058f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ %fail }
{ %opt=-Sew -vw }
{ Source provided for Free Pascal Bug Report 4139 }
{ Submitted by "Christian Iversen" on 2005-06-29 }
{ e-mail: chrivers@iversen-net.dk }
{$mode delphi}
type
Foobar = (a, b, c, d);
const
Test = c;
const
List = [a, c];
{$IF Test in List}
{$MESSAGE WARN 'This should work'}
{$IFEND}
begin
end.
|