This commit is contained in:
flywind
2021-07-19 18:43:31 +08:00
committed by GitHub
parent 488e9c2991
commit bdfee32dc8

View File

@@ -0,0 +1,15 @@
discard """
targets: "c cpp js"
"""
import std/strtabs
macro m =
var t = {"name": "John"}.newStringTable
doAssert t["name"] == "John"
block:
var t = {"name": "John"}.newStringTable
doAssert t["name"] == "John"
m()