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

12 lines
250 B
Solidity
Raw Normal View History

// This tests a crash that occured because we did not stop for fatal errors.
contract C {
struct S {
ftring a;
}
S public s;
function s() s {
}
}
// ----
// DeclarationError: (113-119): Identifier not found or not unique.