summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T14794b.hs
blob: 90501d0fa73e0560f8620416fcfb8b711cb1582a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{-# LANGUAGE PatternSynonyms #-}
{-# OPTIONS_GHC -Wmissing-exported-signatures #-}

module T14794b (testExported, pattern TestExported) where

-- These should generate warnings:

testExported = True

-- These should not generate warnings:

testUnexported = True

pattern TestExported <- True

pattern TestUnexported <- True