From de8d3f9a452fd212236c70e3fb3af5dc9d028d8a Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Thu, 23 Feb 2017 13:08:50 +0100 Subject: Check that #2024 is fixed. --- tests/pos/tailcall/i2024.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/pos/tailcall/i2024.scala (limited to 'tests') diff --git a/tests/pos/tailcall/i2024.scala b/tests/pos/tailcall/i2024.scala new file mode 100644 index 000000000..aba1db2e5 --- /dev/null +++ b/tests/pos/tailcall/i2024.scala @@ -0,0 +1,4 @@ +object Test { +// def main(args: Array[String]): Unit = { } + def assume[T]: Any = assume +} -- cgit v1.2.3 From 8495e80ab2656fabfd578807d5ddd73bc498a80d Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Mon, 13 Mar 2017 14:20:29 +0100 Subject: Remove name clash in test. --- tests/pos/tailcall/return.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/pos/tailcall/return.scala b/tests/pos/tailcall/return.scala index 454686c3d..3724b5b32 100644 --- a/tests/pos/tailcall/return.scala +++ b/tests/pos/tailcall/return.scala @@ -1,4 +1,4 @@ -object Test { +object Return { def foo(x: Int): Int = return 3 -- cgit v1.2.3