mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
250 B
Solidity
11 lines
250 B
Solidity
// This tests a crash that was resolved by making the first error fatal.
|
|
library L {
|
|
struct S { uint d; }
|
|
using S for S;
|
|
function f(S memory _s) internal {
|
|
_s.d = 1;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (120-121): Library name expected.
|