Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
constants
/
long.kt
blob: 7fa2eaf4f50d31bb6e452acee64fecb831087e65 [
file
] [
log
] [
blame
]
fun box
():
String
{
if
(
1L
!=
1.toLong
())
return
"fail 1"
if
(
0x1L
!=
0x1
.
toLong
())
return
"fail 2"
if
(
0X1L
!=
0X1
.
toLong
())
return
"fail 3"
if
(
0b1L
!=
0b1.toLong
())
return
"fail 4"
if
(
0B1L
!=
0B1.toLong
())
return
"fail 5"
return
"OK"
}