mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixing tests on breaking branch.
This commit is contained in:
committed by
chriseth
parent
993a7941b1
commit
bd64b971b9
@@ -22,6 +22,8 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> FAILURE
|
||||
// g() -> FAILURE
|
||||
|
||||
@@ -37,6 +37,8 @@ contract test {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei ->
|
||||
// sendAmount(uint256): 5 -> 5
|
||||
|
||||
@@ -38,6 +38,8 @@ contract Main {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 22 wei ->
|
||||
// getFlag() -> true
|
||||
|
||||
@@ -18,6 +18,8 @@ contract test {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei ->
|
||||
// sendAmount(uint256): 5 -> 8
|
||||
|
||||
@@ -17,6 +17,8 @@ contract test {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei ->
|
||||
// sendAmount(uint256): 5 -> 8
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
pragma solidity ^0.6.0;
|
||||
|
||||
pragma experimental ABIEncoderV2;
|
||||
|
||||
contract Ownable {
|
||||
@@ -25,4 +23,4 @@ contract Voting is Ownable {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (324-340): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning: (299-315): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
|
||||
Reference in New Issue
Block a user