// !LANGUAGE: +RestrictionOfWrongAnnotationsWithUseSiteTargetsOnTypes // !DIAGNOSTICS: -UNUSED_PARAMETER fun test1(@file Suppress("") x: Int) {} @file @Suppress("") fun test2() {} class OnType(x: @file Suppress("") Int) fun @file : Suppress("") Int.test3() {}