Add tests for PR 15026
Fixed on HEAD, possibly due to new expander Closes PR 15026
This commit is contained in:
parent
3fffeeac5d
commit
d1e17b04e8
8
typed-racket-test/succeed/pr15026-a.rkt
Normal file
8
typed-racket-test/succeed/pr15026-a.rkt
Normal file
|
@ -0,0 +1,8 @@
|
|||
#lang typed/racket/base
|
||||
|
||||
;; A test for PR 15026, works with pr15026-b.rkt
|
||||
|
||||
(provide (all-defined-out))
|
||||
|
||||
(define x 42)
|
||||
(define y 43)
|
9
typed-racket-test/succeed/pr15026-b.rkt
Normal file
9
typed-racket-test/succeed/pr15026-b.rkt
Normal file
|
@ -0,0 +1,9 @@
|
|||
#lang racket/base
|
||||
|
||||
;; A test for PR 15026, goes with pr15026-a.rkt
|
||||
;;
|
||||
;; Should not segfault
|
||||
|
||||
(module+ test
|
||||
(require (except-in "pr15026-a.rkt" x))
|
||||
y)
|
Loading…
Reference in New Issue
Block a user