diff options
Diffstat (limited to 'testsuite/tests/parser/should_compile/T2245.hs')
-rw-r--r-- | testsuite/tests/parser/should_compile/T2245.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/T2245.hs b/testsuite/tests/parser/should_compile/T2245.hs new file mode 100644 index 0000000000..bf8287ba33 --- /dev/null +++ b/testsuite/tests/parser/should_compile/T2245.hs @@ -0,0 +1,7 @@ +default (T) + +data T = T deriving (Eq, Ord, Read, Show) +instance Num T +instance Fractional T + +main = interact $ show . (< 1e400) . read
\ No newline at end of file |