mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
f395d5bab4
Adding an extra token for := prevents whitespace between : = being valid
11 lines
223 B
Solidity
11 lines
223 B
Solidity
contract C {
|
|
function f() public pure {
|
|
assembly {
|
|
let mod := 2
|
|
}
|
|
}
|
|
}
|
|
// ----
|
|
// ParserError: (67-70): Cannot use instruction names for identifier names.
|
|
// ParserError: (71-73): Expected ';' but got ':='
|