diff options
Diffstat (limited to 'tests/run/tcase_setconstr.nim')
-rwxr-xr-x | tests/run/tcase_setconstr.nim | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/run/tcase_setconstr.nim b/tests/run/tcase_setconstr.nim deleted file mode 100755 index 21f657c2b..000000000 --- a/tests/run/tcase_setconstr.nim +++ /dev/null @@ -1,15 +0,0 @@ -discard """ - output: "an identifier" -""" - -const - SymChars: set[char] = {'a'..'z', 'A'..'Z', '\x80'..'\xFF'} - -proc classify(s: string) = - case s[0] - of SymChars, '_': echo "an identifier" - of {'0'..'9'}: echo "a number" - else: echo "other" - -classify("Hurra") - |