summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/pragma001.hs
blob: 8c1b7aac949580d27421c7b7944af21d0dfffa22 (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
29

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

-- 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 pragam isn't picked up
foo _ = ()
foo _ = ()