diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2015-01-20 17:31:54 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2015-01-20 17:31:54 +0000 |
commit | 3992a6e2d0fa2f046baaf14c264d21acf9540c83 (patch) | |
tree | d008826956e38c120a393a9f9b84ebfe6cbc6170 /testsuite/tests/patsyn/should_compile/T9975b.hs | |
parent | 387f1d1ec334788c3e891e9304d427bc804998f4 (diff) | |
download | haskell-3992a6e2d0fa2f046baaf14c264d21acf9540c83.tar.gz |
Test Trac #9975
Diffstat (limited to 'testsuite/tests/patsyn/should_compile/T9975b.hs')
-rw-r--r-- | testsuite/tests/patsyn/should_compile/T9975b.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_compile/T9975b.hs b/testsuite/tests/patsyn/should_compile/T9975b.hs new file mode 100644 index 0000000000..d36f54d92a --- /dev/null +++ b/testsuite/tests/patsyn/should_compile/T9975b.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE RecordWildCards #-} +{-# LANGUAGE PatternSynonyms #-} +module T9975b where + +data Test = Test { x :: Int } +pattern PTest wat = Test { x = wat } + |