aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Bug9.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/Bug9.hs b/examples/Bug9.hs
new file mode 100644
index 00000000..81e341db
--- /dev/null
+++ b/examples/Bug9.hs
@@ -0,0 +1,6 @@
+-- Haddock 0.6 didn't parse this module, because the qualified
+-- identifier C.safe was incorrectly lexed as 3 tokens.
+
+module Check where
+import qualified Foo as C
+check = undefined { C.safe = 3 }