parent
a2ad069769
commit
de02fd0b89
2 changed files with 30 additions and 4 deletions
9
tests/cpp/tterminate_handler.nim
Normal file
9
tests/cpp/tterminate_handler.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
discard """
|
||||
targets: "cpp"
|
||||
outputsub: "Error: unhandled unknown cpp exception"
|
||||
exitcode: 1
|
||||
"""
|
||||
type Crap {.importcpp: "int".} = object
|
||||
|
||||
var c: Crap
|
||||
raise c
|
||||
Loading…
Add table
Add a link
Reference in a new issue