summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/pragma001.hs
blob: 4e89ea94b1a7812789abdf943eee0fde69177c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------

-- There is enough comment to fill up one buffer (1024 bytes) of the code
-- in GHC that looks for OPTIONS_GHC pragmas etc.

{-# OPTIONS_GHC -w #-}

module Pragma001 () where

-- This will make a warning if the pragma isn't picked up
foo _ = ()
foo _ = ()