Test no exact delegates were constructed during annotated element search

Add test case for aliased import
This commit is contained in:
Pavel V. Talanov
2017-04-28 20:08:48 +03:00
parent ac92cf8bea
commit 57baaf2a50
3 changed files with 49 additions and 11 deletions
+15
View File
@@ -0,0 +1,15 @@
import java.lang.Deprecated as D
@D class TestClass1 {}
@D fun f()
class TestClass5 {
@D fun g() {}
@D class innerTestClass() {}
}
// ANNOTATION: java.lang.Deprecated
// SEARCH: class:TestClass1, class:innerTestClass, method:f, method:g