diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2015-03-20 15:02:58 -0700 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2015-03-20 15:02:58 -0700 |
commit | 3c7b1e3d953703582aae81506f8b27732a603bfe (patch) | |
tree | cfdc28b39cf590da5529d6a375772b566ecae2bf /test/files/pos/t9111-inliner-workaround/Test_1.scala | |
parent | 13ed36201ff48549b60367b6594c2477db5e0729 (diff) | |
parent | c2ab768287cc02b5e01342ac993d6c2b6e7ee2aa (diff) | |
download | scala-3c7b1e3d953703582aae81506f8b27732a603bfe.tar.gz scala-3c7b1e3d953703582aae81506f8b27732a603bfe.tar.bz2 scala-3c7b1e3d953703582aae81506f8b27732a603bfe.zip |
Merge pull request #4312 from lrytz/opt/inlining
Inliner for GenBCode
Diffstat (limited to 'test/files/pos/t9111-inliner-workaround/Test_1.scala')
-rw-r--r-- | test/files/pos/t9111-inliner-workaround/Test_1.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t9111-inliner-workaround/Test_1.scala b/test/files/pos/t9111-inliner-workaround/Test_1.scala new file mode 100644 index 0000000000..1a00fff833 --- /dev/null +++ b/test/files/pos/t9111-inliner-workaround/Test_1.scala @@ -0,0 +1,10 @@ +object Test extends App { + println(new A_1.Inner()) + + // Accessing foo or Deeper triggers the error of SI-9111. + // However, when not referring to those definitions, compilation should + // succeed, also if the inliner is enabled. + + // println(i.foo(null)) + // new i.Deeper() +} |