From 031bfdec6f7798b99cc7bf9473a08048228c3d2a Mon Sep 17 00:00:00 2001 From: Arne Döring Date: Tue, 13 Nov 2018 15:21:14 +0100 Subject: make run the default action of a test in tester --- tests/objects/tobjcov.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/objects/tobjcov.nim') diff --git a/tests/objects/tobjcov.nim b/tests/objects/tobjcov.nim index c766adde0..817c1fcda 100644 --- a/tests/objects/tobjcov.nim +++ b/tests/objects/tobjcov.nim @@ -1,3 +1,7 @@ +discard """ +action: compile +""" + # Covariance is not type safe: type @@ -14,4 +18,3 @@ proc bp(x: var TB) = x.b[high(x.b)] = -1 var f = cast[proc (x: var TA) {.nimcall.}](bp) var a: TA f(a) # bp expects a TB, but gets a TA - -- cgit 1.4.1-2-gfad0