This commit is contained in:
flywind 2021-07-19 18:43:31 +08:00 • committed by GitHub
commit bdfee32dc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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