Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4f8dad3e4ba00e23b4182ef4c50194b20bd43c8f
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
annotations
/
MultiDeclaration.kt
blob: 65b9584f3e5ef2997c8ed3e7b989d6f325a65ded [
file
]
annotation
class
Ann
data
class
Pair
(
val x
:
Int
,
val y
:
Int
)
fun foo
():
Int
{
<!
WRONG_ANNOTATION_TARGET
!>
@Ann
<!>
val
(
a
,
b
)
=
Pair
(
12
,
34
)
@<!
UNRESOLVED_REFERENCE
!>
Err
<!>
val
(
c
,
d
)
=
Pair
(
56
,
78
)
return
a
+
b
+
c
+
d
}