disable one more test for C++

This commit is contained in:
Araq 2019-01-16 21:11:21 +01:00
commit 8947779dd0

View file

@ -1,8 +1,12 @@
discard """ discard """
action: compile action: compile
target: "c"
""" """
# Covariance is not type safe: # Covariance is not type safe:
# Note: `nim cpp` makes it a compile error (after codegen), even with:
# `var f = cast[proc (x: var TA) {.nimcall.}](cast[pointer](bp))`, which
# currently removes all the `cast` in cgen'd code, hence the compile error.
type type
TA = object of RootObj TA = object of RootObj