aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/tailcall/i2024.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/tailcall/i2024.scala')
-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
+}