disable one more test for C++
This commit is contained in:
parent
5df411bd6e
commit
8947779dd0
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue