diff options
Diffstat (limited to 'tests/enum/tenumhole.nim')
-rw-r--r-- | tests/enum/tenumhole.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/enum/tenumhole.nim b/tests/enum/tenumhole.nim index a35526378..68b82e283 100644 --- a/tests/enum/tenumhole.nim +++ b/tests/enum/tenumhole.nim @@ -12,10 +12,10 @@ type valueB = strValB & "conc", valueC, valueD = (4, "abc") - + # test the new "proc body can be an expr" feature: proc getValue: TMyEnum = valueD - + # trick the optimizer with a variable: var x = getValue() echo valueA, ord(valueA), valueB, ord(valueB), valueC, valueD, ord(valueD), x |