compiler: add unit test for undefined_symbol regression

db4
Slava Pestov 2009-09-25 18:08:33 -05:00
parent b14c683b32
commit a6654c97ef
1 changed files with 5 additions and 0 deletions

View File

@ -588,3 +588,8 @@ FUNCTION: short ffi_test_48 ( bool-field-test x ) ;
123 >>parents
ffi_test_48
] unit-test
! Regression: calling an undefined function would raise a protection fault
FUNCTION: void this_does_not_exist ( ) ;
[ this_does_not_exist ] [ { "kernel-error" 10 f f } = ] must-fail-with