solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/412_early_exit_on_fatal_errors.sol

13 lines
319 B
Solidity
Raw Normal View History

// This tests a crash that occurred because we did not stop for fatal errors.
contract C {
struct S {
ftring a;
}
S public s;
function s() public s {
}
}
// ----
// DeclarationError: (150-179): Identifier already declared.
// DeclarationError: (114-120): Identifier not found or not unique.