changeset 127:95bd987a5949

shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041112233233.3584a28f.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:844
author thomask
date Sun, 14 Nov 2004 17:56:51 +0000
parents bd8caff749cf
children 8cc6517b623f
files run/enum_09.d
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/enum_09.d	Sun Nov 14 17:56:51 2004 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$ $Date$ ($Author$)
+
+// @author@	shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp>
+// @date@	2004-11-12
+// @uri@	news://20041112233233.3584a28f.s31552@mail.ecc.u-tokyo.ac.jp
+// @url@	nttp://digitalmars.com/D.gnu:844
+
+module dstress.run.enum_09;
+
+enum Enum{
+	A = -1
+}
+
+int main() {
+	Enum e = Enum.A;
+	assert(e < 0);
+	return 0;
+}