mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
329 B
Solidity
13 lines
329 B
Solidity
// 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 2333: (150-179): Identifier already declared.
|
|
// DeclarationError 7920: (114-120): Identifier not found or not unique.
|