solidity/test/libsolidity/semanticTests/revertStrings/bubble.sol

17 lines
263 B
Solidity
Raw Normal View History

2020-01-22 14:48:56 +00:00
contract A {
function g() public { revert("fail"); }
}
contract C {
A a = new A();
function f() public {
a.g();
}
}
// ====
// compileViaYul: also
2020-01-22 14:48:56 +00:00
// EVMVersion: >=byzantium
// revertStrings: debug
// ----
// f() -> FAILURE, hex"08c379a0", 0x20, 4, "fail"