summaryrefslogtreecommitdiff
path: root/Test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'Test.scala')
-rw-r--r--Test.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test.scala b/Test.scala
new file mode 100644
index 0000000000..1d8d7afd76
--- /dev/null
+++ b/Test.scala
@@ -0,0 +1,7 @@
+object Test extends Application {
+ if (1 == 0) throw new Error();
+ bar;
+ def bar = foo;
+ def foo = if (true)
+ throw new Error();
+}