summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_run/LinearGhci.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/linear/should_run/LinearGhci.script')
-rw-r--r--testsuite/tests/linear/should_run/LinearGhci.script11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/linear/should_run/LinearGhci.script b/testsuite/tests/linear/should_run/LinearGhci.script
new file mode 100644
index 0000000000..78f81ef8d2
--- /dev/null
+++ b/testsuite/tests/linear/should_run/LinearGhci.script
@@ -0,0 +1,11 @@
+data T a = MkT a
+:type +v MkT
+:set -XLinearTypes
+:type +v MkT
+:set -XGADTs
+data T a where MkT :: a #-> a -> T a
+:info T
+data T a b m n r = MkT a b m n r
+:set -fprint-explicit-foralls
+-- check that user variables are not renamed (see dataConMulVars)
+:type +v MkT