diff options
author | Araq <rumpf_a@web.de> | 2011-11-02 02:36:01 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-02 02:36:01 +0100 |
commit | 77222b2aaddac5deeb1e68b750dae255fa095c6e (patch) | |
tree | ef1e8f024791cf225f0d540f766e2a3260fbeeeb /tests | |
parent | 1f6725e59e4afe1f803b47fb272bfe45a9b1fcea (diff) | |
download | Nim-77222b2aaddac5deeb1e68b750dae255fa095c6e.tar.gz |
fixes #59
Diffstat (limited to 'tests')
-rw-r--r-- | tests/reject/tenumitems.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/reject/tenumitems.nim b/tests/reject/tenumitems.nim new file mode 100644 index 000000000..a0497fd59 --- /dev/null +++ b/tests/reject/tenumitems.nim @@ -0,0 +1,9 @@ +discard """ + line: 7 + errormsg: "a type has no value" +""" + +type a = enum b,c,d +a.items() + + |