diff --git a/ghc-mod.cabal b/ghc-mod.cabal index 8891657..ace73ba 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -71,6 +71,7 @@ Extra-Source-Files: ChangeLog test/data/pattern-synonyms/*.hs test/data/quasi-quotes/*.hs test/data/template-haskell/*.hs + test/data/target/*.hs test/data/check-missing-warnings/*.hs Library diff --git a/test/data/target/Cpp.hs b/test/data/target/Cpp.hs new file mode 100644 index 0000000..5a17b7a --- /dev/null +++ b/test/data/target/Cpp.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE CPP #-} +#undef NOTHING +#ifdef NOTHING +module WRONG_MODULE where +#else +module Cpp where +#endif