summary refs log tree commit diff stats
path: root/tests/compile/tenum3.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/tenum3.nim')
-rwxr-xr-xtests/compile/tenum3.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/compile/tenum3.nim b/tests/compile/tenum3.nim
deleted file mode 100755
index 09a516932..000000000
--- a/tests/compile/tenum3.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-# Test enum with explicit size
-
-type
-  TEnumHole {.size: sizeof(int).} = enum 
-    eA = 0,
-    eB = 4,
-    eC = 5
-    
-var
-  e: TEnumHole = eB
-  
-case e
-of eA: echo "A"
-of eB: echo "B"
-of eC: echo "C"
-