summaryrefslogtreecommitdiff
path: root/test/files/neg/t8177a.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t8177a.check')
-rw-r--r--test/files/neg/t8177a.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t8177a.check b/test/files/neg/t8177a.check
new file mode 100644
index 0000000000..0d01206e0c
--- /dev/null
+++ b/test/files/neg/t8177a.check
@@ -0,0 +1,6 @@
+t8177a.scala:5: error: type mismatch;
+ found : A{type Result = Int}
+ required: A{type Result = String}
+ : A { type Result = String} = x
+ ^
+one error found