solidity/test/libsolidity/syntaxTests/inlineAssembly/assembly_duplicate_option.sol

6 lines
158 B
Solidity
Raw Normal View History

2022-02-14 12:21:00 +00:00
function f() pure {
assembly ("memory-safe", "memory-safe") {}
}
// ----
// SyntaxError 7026: (24-66): Inline assembly marked memory-safe multiple times.