summaryrefslogtreecommitdiff
path: root/test/files/neg/gadts2-strict.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/gadts2-strict.check')
-rw-r--r--test/files/neg/gadts2-strict.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/gadts2-strict.check b/test/files/neg/gadts2-strict.check
new file mode 100644
index 0000000000..960b35ed2f
--- /dev/null
+++ b/test/files/neg/gadts2-strict.check
@@ -0,0 +1,6 @@
+gadts2-strict.scala:14: error: type mismatch;
+ found : Test.MyDouble
+ required: a
+ case NumTerm(n) => c.x = MyDouble(1.0)
+ ^
+one error found