summaryrefslogtreecommitdiff
path: root/test/files/run/t1909.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t1909.check')
-rw-r--r--test/files/run/t1909.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t1909.check b/test/files/run/t1909.check
new file mode 100644
index 0000000000..7d25be60fd
--- /dev/null
+++ b/test/files/run/t1909.check
@@ -0,0 +1,3 @@
+t1909.scala:7: warning: A try without a catch or finally is equivalent to putting its body in a block; no exceptions are handled.
+ def this(p: String) = this(try 0)
+ ^