solidity/test/libsolidity/syntaxTests/literalSuffixes/application/invalid_suffixed_assembly_annotation.sol
2023-05-17 16:55:14 +02:00

12 lines
261 B
Solidity

function suffix(uint x) pure suffix returns (uint) { return x; }
contract C {
function f() pure public {
assembly ("memory-safe" suffix) {
pop(0)
}
}
}
// ----
// ParserError 2314: (142-148): Expected ')' but got identifier