forked from ethereum/solidity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmultiple_parameter_location.sol
28 lines (28 loc) · 1.37 KB
/
multiple_parameter_location.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
contract A {
modifier mod1(string storage storage a) { _; }
modifier mod2(string storage memory a) { _; }
modifier mod3(string storage calldata a) { _; }
modifier mod4(string memory storage a) { _; }
modifier mod5(string memory memory a) { _; }
modifier mod6(string memory calldata a) { _; }
modifier mod7(string calldata storage a) { _; }
modifier mod8(string calldata memory a) { _; }
modifier mod9(string calldata calldata a) { _; }
modifier modA(string transient storage a) { _; }
modifier modB(string transient memory a) { _; }
modifier modC(string transient calldata a) { _; }
modifier modD(string storage transient a) { _; }
modifier modE(string memory transient a) { _; }
modifier modF(string calldata transient a) { _; }
}
// ----
// ParserError 3548: (46-53): Location already specified.
// ParserError 3548: (97-103): Location already specified.
// ParserError 3548: (147-155): Location already specified.
// ParserError 3548: (198-205): Location already specified.
// ParserError 3548: (248-254): Location already specified.
// ParserError 3548: (297-305): Location already specified.
// ParserError 3548: (350-357): Location already specified.
// ParserError 3548: (402-408): Location already specified.
// ParserError 3548: (453-461): Location already specified.
// ParserError 2314: (507-514): Expected ',' but got 'storage'