diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/neg/i1605.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/neg/i1605.scala b/tests/neg/i1605.scala new file mode 100644 index 000000000..776f2df47 --- /dev/null +++ b/tests/neg/i1605.scala @@ -0,0 +1,5 @@ +object Test { + def foo = inlineMe + + inline def inlineMe = 1 + x // error +} |