diff options
Diffstat (limited to 'test/files/neg/bug1909.check')
-rw-r--r-- | test/files/neg/bug1909.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug1909.check b/test/files/neg/bug1909.check new file mode 100644 index 0000000000..631c60d5f0 --- /dev/null +++ b/test/files/neg/bug1909.check @@ -0,0 +1,4 @@ +bug1909.scala:5: error: Implementation restriction: auxiliary constructor calls may not use expressions which require lifting. + def this(p: String) = this(try 0) + ^ +one error found |