summaryrefslogtreecommitdiff
path: root/test/neg/S4.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/S4.check')
-rw-r--r--test/neg/S4.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/neg/S4.check b/test/neg/S4.check
new file mode 100644
index 0000000000..dd8ee22f5d
--- /dev/null
+++ b/test/neg/S4.check
@@ -0,0 +1,4 @@
+S4.scala:5: stable identifier required
+ def foo(x: a.Inner) = x;
+ ^
+one error found