Files
Nim/tests/method/tmethods_old.nim
ringabout b5f5b74fc8 enable vtable implementation for C++ and make it an experimental feature (#23004)
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>
2023-11-30 14:05:45 +01:00

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()