diff options
Diffstat (limited to 'testsuite/tests/patsyn/should_compile/T9975a.hs')
-rw-r--r-- | testsuite/tests/patsyn/should_compile/T9975a.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_compile/T9975a.hs b/testsuite/tests/patsyn/should_compile/T9975a.hs new file mode 100644 index 0000000000..ed5a2c2bb9 --- /dev/null +++ b/testsuite/tests/patsyn/should_compile/T9975a.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE RecordWildCards #-} +{-# LANGUAGE PatternSynonyms #-} +module T9975a where + +data Test = Test { x :: Int } +pattern Test wat = Test { x = wat } + |