summary refs log tree commit diff stats
path: root/tests/errmsgs/tproper_stacktrace.nim
blob: 57e65fa6fb2e738e4ff68e3b3f7b3ef8e86e406b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
discard """
  outputsub: '''tproper_stacktrace.nim(7) tproper_stacktrace'''
  exitcode: 1
"""

template fuzzy(x) =
  echo x[] != 9

var p: ptr int
fuzzy p