Add test for PR 14144

Forgot to include this in commit
7c4eb845a0
This commit is contained in:
Asumu Takikawa 2013-11-11 23:22:42 -05:00
parent 7c4eb845a0
commit 0e3471b952

View File

@ -0,0 +1,13 @@
#;
(exn-pred #rx"Expected 'foo, but got 'bar")
#lang racket/load
;; Test for PR 14144
;; Make sure that the second definition is checked
;; against the synthesized type for the first definition
(require typed/racket)
(define x 'foo)
(define x 'bar)