Fix recompilation bug with default class methods (#15970)
[ghc.git] / testsuite / tests / driver / T4931.hs
1 {-# LANGUAGE CPP #-}
2 {-# OPTIONS_GHC -DFOO="bar baz" #-}
3 main = print FOO
4
5 -- Test that GHC can compile option pragmas containing spaces.
6 -- When a .hsc contains `#define FOO "bar baz"`, hsc2hs emits:
7 --
8 -- {-# OPTIONS_GHC -optc-DFOO="bar baz" #-}