2 # Copyright (C) 2001-2010, Parrot Foundation.
7 t/pmc/opcode.t - Opcode PMC
11 % prove t/pmc/opcode.t
15 .include 'except_types.pasm'
18 .include 'test_more.pir'
20 cannot_create_directly()
23 .sub cannot_create_directly
25 eh = new ['ExceptionHandler']
26 eh.'handle_types'(.EXCEPTION_INVALID_OPERATION)
27 set_label eh, cannot_create
30 ok(0, "shouldn't be able to create new opcode")
43 # vim: expandtab shiftwidth=4 ft=pir: