mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
follow up https://github.com/nim-lang/Nim/pull/22991 - [x] turning it into an experimental feature --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
13 lines
200 B
Nim
13 lines
200 B
Nim
discard """
|
|
matrix: "--mm:arc -d:nimInternalNonVtablesTesting"
|
|
output: '''
|
|
do nothing
|
|
'''
|
|
"""
|
|
|
|
# tmethods1
|
|
method somethin(obj: RootObj) {.base.} =
|
|
echo "do nothing"
|
|
var o: RootObj
|
|
o.somethin()
|