solidity/test/libsolidity/semanticTests/revertStrings/bubble.sol
2020-02-10 11:57:20 -03:00

16 lines
240 B
Solidity

contract A {
function g() public { revert("fail"); }
}
contract C {
A a = new A();
function f() public {
a.g();
}
}
// ====
// EVMVersion: >=byzantium
// revertStrings: debug
// ----
// f() -> FAILURE, hex"08c379a0", 0x20, 4, "fail"