Fix recompilation bug with default class methods (#15970)
[ghc.git] / testsuite / tests / driver / T3389.hs
1
2 {-# LANGUAGE CPP #-}
3 {-# OPTIONS_GHC -optP -C -optP -ffreestanding #-}
4
5 #define A 'a'
6
7 main :: IO ()
8 main = putStrLn [A,
9 -- CPP treats this as the beginning of a multiline C-style comment: /usr/local/*
10 'b',
11 -- And */ close it. By passing `-optP -C` we tell CPP not to delete it.
12 'c']