got rid of 'accept' dir in the tests
This commit is contained in:
parent
d0772feb08
commit
a274f3bf5b
264 changed files with 5 additions and 7 deletions
21
tests/compile/toop.nim
Executable file
21
tests/compile/toop.nim
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
discard """
|
||||
disabled: true
|
||||
"""
|
||||
|
||||
type
|
||||
TA = object
|
||||
x, y: int
|
||||
|
||||
TB = object of TA
|
||||
z: int
|
||||
|
||||
TC = object of TB
|
||||
whatever: string
|
||||
|
||||
proc p(a: var TA) = nil
|
||||
proc p(b: var TB) = nil
|
||||
|
||||
var c: TC
|
||||
|
||||
p(c)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue