[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
fun fooInt(p: Int) = p
|
||||
fun fooLong(p: Long) = p
|
||||
fun fooByte(p: Byte) = p
|
||||
fun fooShort(p: Short) = p
|
||||
|
||||
fun test() {
|
||||
fooInt(1 plus 1)
|
||||
fooByte(1 plus 1)
|
||||
fooLong(1 plus 1)
|
||||
fooShort(1 plus 1)
|
||||
|
||||
fooInt(1 times 1)
|
||||
fooByte(1 times 1)
|
||||
fooLong(1 times 1)
|
||||
fooShort(1 times 1)
|
||||
|
||||
fooInt(1 div 1)
|
||||
fooByte(1 div 1)
|
||||
fooLong(1 div 1)
|
||||
fooShort(1 div 1)
|
||||
|
||||
fooInt(1 mod 1)
|
||||
<!INAPPLICABLE_CANDIDATE!>fooByte<!>(1 mod 1)
|
||||
<!INAPPLICABLE_CANDIDATE!>fooLong<!>(1 mod 1)
|
||||
<!INAPPLICABLE_CANDIDATE!>fooShort<!>(1 mod 1)
|
||||
|
||||
fooInt(1 rem 1)
|
||||
fooByte(1 rem 1)
|
||||
fooLong(1 rem 1)
|
||||
fooShort(1 rem 1)
|
||||
}
|
||||
Reference in New Issue
Block a user