mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move inline assembly tests from nameAndTypeResolution to inlineAssembly
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
contract test {
|
||||
function f() public {
|
||||
assembly {
|
||||
pop
|
||||
}
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// SyntaxError: (73-76): The use of non-functional instructions is disallowed. Please use functional notation instead.
|
||||
// DeclarationError: (59-86): Unbalanced stack at the end of a block: 1 missing item(s).
|
||||
Reference in New Issue
Block a user