diff options
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() +} |