summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T3389.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/driver/T3389.hs')
-rw-r--r--testsuite/tests/driver/T3389.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T3389.hs b/testsuite/tests/driver/T3389.hs
new file mode 100644
index 0000000000..e068611460
--- /dev/null
+++ b/testsuite/tests/driver/T3389.hs
@@ -0,0 +1,12 @@
+
+{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -optP -C #-}
+
+#define A 'a'
+
+main :: IO ()
+main = putStrLn [A,
+-- /*
+ 'b',
+-- */
+ 'c']