aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1570.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/i1570.scala')
-rw-r--r--tests/pos/i1570.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/i1570.scala b/tests/pos/i1570.scala
new file mode 100644
index 000000000..c2e4fd01b
--- /dev/null
+++ b/tests/pos/i1570.scala
@@ -0,0 +1,4 @@
+object Test {
+ inline def foo(inline n: Int) = bar(n)
+ inline def bar(inline n: Int) = n
+}