summary refs log tree commit diff stats
path: root/tests/run/tfinalobj.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/tfinalobj.nim')
-rw-r--r--tests/run/tfinalobj.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/run/tfinalobj.nim b/tests/run/tfinalobj.nim
deleted file mode 100644
index 1cd7fae28..000000000
--- a/tests/run/tfinalobj.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-discard """
-  output: "abc"
-"""
-
-type
-  TA = object {.pure, final.} 
-    x: string
-    
-var
-  a: TA
-a.x = "abc"
-
-doAssert TA.sizeof == string.sizeof
-
-echo a.x
-