Exclude Cabal PackageTests from gen_contents_index.
[ghc.git] / testsuite / tests / driver / pragma001.hs
1
2 ---------------------------------------------------------------------------
3 ---------------------------------------------------------------------------
4 ---------------------------------------------------------------------------
5 ---------------------------------------------------------------------------
6 ---------------------------------------------------------------------------
7 ---------------------------------------------------------------------------
8 ---------------------------------------------------------------------------
9 ---------------------------------------------------------------------------
10 ---------------------------------------------------------------------------
11 ---------------------------------------------------------------------------
12 ---------------------------------------------------------------------------
13 ---------------------------------------------------------------------------
14 ---------------------------------------------------------------------------
15 ---------------------------------------------------------------------------
16 ---------------------------------------------------------------------------
17 ---------------------------------------------------------------------------
18
19 -- There is enough comment to fill up one buffer (1024 bytes) of the code
20 -- in GHC that looks for OPTIONS_GHC pragmas etc.
21
22 {-# OPTIONS_GHC -w #-}
23
24 module Pragma001 () where
25
26 -- This will make a warning if the pragam isn't picked up
27 foo _ = ()
28 foo _ = ()
29