summaryrefslogtreecommitdiff
path: root/test/files/neg/t10097b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t10097b.check')
-rw-r--r--test/files/neg/t10097b.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t10097b.check b/test/files/neg/t10097b.check
new file mode 100644
index 0000000000..14535fee34
--- /dev/null
+++ b/test/files/neg/t10097b.check
@@ -0,0 +1,6 @@
+t10097b.scala:2: warning: case classes should have a non-implicit parameter list; adapting to 'case class C()(...)'
+case class C(implicit val c: Int)
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found