Add a test that involves blame on a non-unit entity.

svn: r13182
This commit is contained in:
Stevie Strickland 2009-01-16 20:46:39 +00:00
parent 39d9cfbb0a
commit f6d571db40

View File

@ -152,3 +152,13 @@
(test-runtime-error exn:fail:contract? "unit9-1 provides wrong value for function f"
(invoke-unit unit9))
(define-values/invoke-unit
(unit
(import) (export sig2)
(define f values))
(import)
(export sig2))
(test-runtime-error exn:fail:contract? "top-level misuses f"
(f #t))