diff options
Diffstat (limited to 'tests/accept/run/tenumhole.nim')
-rw-r--r-- | tests/accept/run/tenumhole.nim | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/accept/run/tenumhole.nim b/tests/accept/run/tenumhole.nim deleted file mode 100644 index 75fb74592..000000000 --- a/tests/accept/run/tenumhole.nim +++ /dev/null @@ -1,16 +0,0 @@ - -const - strValB = "my value B" - -type - TMyEnum = enum - valueA = (1, "my value A"), - valueB = strValB & "conc", - valueC, - valueD = (4, "abc") - -# trick the optimizer with a variable: -var x = valueD -echo valueA, ord(valueA), valueB, ord(valueB), valueC, valueD, ord(valueD), x - - |