summary refs log blame commit diff stats
path: root/tests/pragmas/tpragmas_reorder.nim
blob: c4b1a6b0ae401ff2a465ba1e471436ba82cd2a94 (plain) (tree)


















                                         
discard """
  matrix: "--experimental:codeReordering"
"""

runnableExamples:
  import strtabs
  var t = newStringTable()
  t["name"] = "John"
  t["city"] = "Monaco"
  doAssert t.len == 2
  doAssert t.hasKey "name"
  doAssert "name" in t

include "system/inclrtl"

{.pragma: rtlFunc, rtl.}

proc hasKey*(): bool {.rtlFunc.} =
  discard