summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T12983/src/Hospital.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/driver/T12983/src/Hospital.hs')
-rw-r--r--testsuite/tests/driver/T12983/src/Hospital.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/driver/T12983/src/Hospital.hs b/testsuite/tests/driver/T12983/src/Hospital.hs
new file mode 100644
index 0000000000..2cbd21401c
--- /dev/null
+++ b/testsuite/tests/driver/T12983/src/Hospital.hs
@@ -0,0 +1,6 @@
+module Hospital where
+
+import ShortText
+
+foo :: Int -> String
+foo i = toString (ShortText (show i))