Ticket #992: boom.pir

File boom.pir, 234 bytes (added by dukeleto, 5 years ago)

Causes memory errors

Line 
1.sub 'main' :main
2    .include 'test_more.pir'
3    throws_like(<<'CODE',':s but was used with \:vtable')
4.namespace [ "Test" ]
5
6.sub monkey :method :vtable("not_in_the_vtable")
7    .param int key
8    .return("monkey")
9.end
10CODE
11
12.end