aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2017-02-23 13:08:50 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-03-08 11:19:38 +0100
commitde8d3f9a452fd212236c70e3fb3af5dc9d028d8a (patch)
treec57adfc5a4784f8e121a45ae8e6af718588a8e21 /tests
parent473340064d07231c2f7893ae12ad5c4ad1b3c071 (diff)
downloaddotty-de8d3f9a452fd212236c70e3fb3af5dc9d028d8a.tar.gz
dotty-de8d3f9a452fd212236c70e3fb3af5dc9d028d8a.tar.bz2
dotty-de8d3f9a452fd212236c70e3fb3af5dc9d028d8a.zip
Check that #2024 is fixed.
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/tailcall/i2024.scala4
1 files changed, 4 insertions, 0 deletions
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
+}