solidity/test/libsolidity/syntaxTests/errors/struct_named_error.sol

7 lines
111 B
Solidity
Raw Normal View History

2021-01-28 11:56:22 +00:00
// Test that the parser workaround is not breaking.
struct error {uint a;}
contract C {
error x;
}
// ----