summaryrefslogtreecommitdiff
path: root/test/files/pos/t9111-inliner-workaround/Test_1.scala
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2015-03-20 15:02:58 -0700
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2015-03-20 15:02:58 -0700
commit3c7b1e3d953703582aae81506f8b27732a603bfe (patch)
treecfdc28b39cf590da5529d6a375772b566ecae2bf /test/files/pos/t9111-inliner-workaround/Test_1.scala
parent13ed36201ff48549b60367b6594c2477db5e0729 (diff)
parentc2ab768287cc02b5e01342ac993d6c2b6e7ee2aa (diff)
downloadscala-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.scala10
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()
+}