diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-07-08 12:40:39 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-07-08 12:40:39 +0200 |
commit | 0e98c59aa180053a2684150bb9234bef4685d0be (patch) | |
tree | b90c677c3ec148b251010c5adeb954eadfcdca34 /test/files/neg/inlineIndyLambdaPrivate/Test_2.scala | |
parent | d1f2084563288e9198e7c00f8a4d078802f53eaf (diff) | |
download | scala-0e98c59aa180053a2684150bb9234bef4685d0be.tar.gz scala-0e98c59aa180053a2684150bb9234bef4685d0be.tar.bz2 scala-0e98c59aa180053a2684150bb9234bef4685d0be.zip |
Test warnings when an indy cannot be inlined
There are two cases tested here
- An indyLMF where the lambda body method is private
- An indy where the bootstrap method is not LMF
Diffstat (limited to 'test/files/neg/inlineIndyLambdaPrivate/Test_2.scala')
-rw-r--r-- | test/files/neg/inlineIndyLambdaPrivate/Test_2.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/inlineIndyLambdaPrivate/Test_2.scala b/test/files/neg/inlineIndyLambdaPrivate/Test_2.scala new file mode 100644 index 0000000000..dd59c05176 --- /dev/null +++ b/test/files/neg/inlineIndyLambdaPrivate/Test_2.scala @@ -0,0 +1,3 @@ +class Test { + def foo = A_1.test +} |