diff options
Diffstat (limited to 'test/files/neg/t4882.check')
-rw-r--r-- | test/files/neg/t4882.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t4882.check b/test/files/neg/t4882.check new file mode 100644 index 0000000000..0aafc82770 --- /dev/null +++ b/test/files/neg/t4882.check @@ -0,0 +1,4 @@ +t4882.scala:2: error: `implicit' modifier not allowed for constructors + implicit def this(a: String) = this(a.toInt) + ^ +one error found |