summary refs log tree commit diff stats
path: root/tests/accept/run/tmultim3.nim
blob: 373c84c0ecac4ebc0e992e84cabaf12cade70725 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
discard """
  file: "tmultim3.nim"
  output: "Hi derived!"
"""
import mmultim3

type
    TBObj* = object of TObj


method test123(a : ref TBObj) =
    echo("Hi derived!")

var a : ref TBObj
new(a)
myObj = a
testMyObj()