mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 21:17:48 +00:00
disable one more test for C++
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
discard """
|
||||
action: compile
|
||||
target: "c"
|
||||
"""
|
||||
|
||||
# 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
|
||||
TA = object of RootObj
|
||||
|
||||
Reference in New Issue
Block a user