diff options
author | Kavon Farvardin <kavon@farvard.in> | 2018-09-23 15:29:37 -0500 |
---|---|---|
committer | Kavon Farvardin <kavon@farvard.in> | 2018-09-23 15:29:37 -0500 |
commit | 84c2ad99582391005b5e873198b15e9e9eb4f78d (patch) | |
tree | caa8c2f2ec7e97fbb4977263c6817c9af5025cf4 /testsuite/tests/deSugar/should_compile/T13870.hs | |
parent | 8ddb47cfcf5776e9a3c55fd37947c8a95e00fa12 (diff) | |
parent | e68b439fe5de61b9a2ca51af472185c62ccb8b46 (diff) | |
download | haskell-wip/T13904.tar.gz |
update to current master againwip/T13904
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/T13870.hs')
-rw-r--r-- | testsuite/tests/deSugar/should_compile/T13870.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/T13870.hs b/testsuite/tests/deSugar/should_compile/T13870.hs new file mode 100644 index 0000000000..90ad9f072e --- /dev/null +++ b/testsuite/tests/deSugar/should_compile/T13870.hs @@ -0,0 +1,14 @@ +-- !!! T13870 -- missing-fields warnings for recprd-construction + +module ShouldCompile where + +import Data.Functor.Identity + +test1 :: Maybe Int +test1 = Just{} + +test2 :: Maybe Int +test2 = Nothing{} + +test3 :: Identity Int +test3 = Identity{} |