diff --git a/tests/compiler-tests.scm b/tests/compiler-tests.scm
index 6e5c8b27..d4585e37 100644
|
a
|
b
|
|
| 69 | 69 | (import x) |
| 70 | 70 | (assert (= 1 ((bar 42)))) |
| 71 | 71 | |
| | 72 | |
| | 73 | ;; Test custom foreign type conversions |
| | 74 | |
| | 75 | (module y (my-add1) |
| | 76 | (import scheme (chicken base) (chicken foreign)) |
| | 77 | |
| | 78 | (define-foreign-type my-int integer add1 sub1) |
| | 79 | |
| | 80 | (define my-add1 (foreign-lambda* my-int ((my-int x)) "C_return(x+1);"))) |
| | 81 | |
| | 82 | (import y) |
| | 83 | (assert (= 2 (my-add1 1))) |
| | 84 | |
| 72 | 85 | ;;; rev. 14574 (reported by Peter Bex) |
| 73 | 86 | ; |
| 74 | 87 | ; - type specifiers in foreign-lambda in macros are incorrectly renamed |