summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T12024.script
blob: 4e648634c2c31e9a28af7aa32c010d23f9450249 (plain)
1
2
3
4
5
6
7
8
:set -XPatternSynonyms -XGADTs
data A a where X :: A [x]

pattern X' = X

-- This should render the equality with ~ despite the pattern internally using
-- GHC.Prim.~#.
:info X'