summary refs log tree commit diff stats
path: root/tests/assign/tobject_assign.nim
Commit message (Expand)AuthorAgeFilesLines
* followup for #16717: minimized example + improved comment (#16721)Timothee Cour2021-01-151-32/+44
* fix #16706 (#16717) [backport:1.4]flywind2021-01-141-0/+37
proc printf(frmt: cstring) {.varargs, importc, header: "<stdio.h>", cdecl.}
proc exit(code: int) {.importc, header: "<stdlib.h>", cdecl.}

{.push stack_trace: off, profiler:off.}

proc rawoutput(s: string) =
  printf("%s\n", s)

proc panic(s: string) {.noreturn.} =
  rawoutput(s)
  exit(1)

{.pop.}