annotate nocompile/enum_37.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents 9a121126b077
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
756
9a121126b077 major "Torture" review
thomask
parents: 506
diff changeset
1 // $HeadURL$
9a121126b077 major "Torture" review
thomask
parents: 506
diff changeset
2 // $Date$
9a121126b077 major "Torture" review
thomask
parents: 506
diff changeset
3 // $Author$
506
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
4
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
5 // __DSTRESS_ELINE__ 16
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
6
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
7 module dstress.nocompile.enum_37;
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
8
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
9 enum E{
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
10 A = 1
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
11 }
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
12
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
13 E e;
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
14
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
15 enum Enum : E {
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
16 B = e
9a1ad98b24da added illegal range and illegal type checks for Enum
thomask
parents:
diff changeset
17 }