Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
inline
/
virtualMemberInEnum.fir.kt
blob: 2807e6bc1ed0576ae5ea8c5d06d0fcc4c4dd543b [
file
]
enum
class
Some
{
A
{
<!
OVERRIDE_BY_INLINE
!>
override
fun foo
(
s
:
()
->
String
):
String
<!>
{
return
s
()
+
s
()
}
};
//SHOULD BE ERROR REPORTED
open
<!
DECLARATION_CANT_BE_INLINED
!>
inline
<!>
fun foo
(
s
:
()
->
String
):
String
{
return
s
()
}
}