// RUN_PIPELINE_TILL: FRONTEND
// LANGUAGE: +ForbidTypeAliasWithMissingDependencyType
// ISSUE: KT-70179

// MODULE: lib
// FILE: some/my/Ann.java
package some.my;

public @interface Ann {}

// MODULE: alias(lib)
// FILE: wrapper/KAnn.kt
package wrapper

import some.my.Ann

public typealias KAnn = Ann

// MODULE: app(alias)
// FILE: test.kt

import wrapper.KAnn

@KAnn
fun foo() {}

/* GENERATED_FIR_TAGS: functionDeclaration, typeAliasDeclaration */
