Add test for checking ambiguity for root package and the same package

This commit is contained in:
Nikolay Krasko
2012-12-28 17:00:00 +04:00
parent f2e78d9064
commit ee227f01b9
3 changed files with 26 additions and 0 deletions
@@ -0,0 +1,9 @@
namespace <root>
// <namespace name="test">
namespace test
internal final val t: [ERROR : Type for testFun()]
internal final fun testFun(): jet.Int
// </namespace name="test">
internal final fun testFun(): jet.Int