From 55803b2657a473a1ebbebfd9ab7ba4c1b4e27d38 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Fri, 7 Apr 2017 13:47:07 +0200 Subject: Implement meta tests suggested by @DarkDimius Note that merging this as-is will not protect us against fork bombs. This is because the timeout of tests is currently 180 seconds. A forkbomb that is allowed to run for that long... --- tests/partest-test/infiniteTail.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/partest-test/infiniteTail.scala (limited to 'tests/partest-test/infiniteTail.scala') diff --git a/tests/partest-test/infiniteTail.scala b/tests/partest-test/infiniteTail.scala new file mode 100644 index 000000000..b3132cc19 --- /dev/null +++ b/tests/partest-test/infiniteTail.scala @@ -0,0 +1,7 @@ +object Test { + def foo: Int = bar + def bar: Int = foo + + def main(args: Array[String]): Unit = + println(foo) +} -- cgit v1.2.3