diff options
Diffstat (limited to 'test/files/neg/bug1909.scala')
-rw-r--r-- | test/files/neg/bug1909.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/bug1909.scala b/test/files/neg/bug1909.scala new file mode 100644 index 0000000000..4fae4e5414 --- /dev/null +++ b/test/files/neg/bug1909.scala @@ -0,0 +1,6 @@ +// Until #1909 is fixed, if this compiles the bytecode +// will trigger a VerifyError. +class Class { + def this(value: Int) = this() + def this(p: String) = this(try 0) +}
\ No newline at end of file |