2018-05-08 11:08:52 +00:00
|
|
|
contract c1 {
|
|
|
|
function f() payable payable {}
|
|
|
|
}
|
|
|
|
contract c2 {
|
|
|
|
function f() view view {}
|
|
|
|
}
|
|
|
|
contract c3 {
|
|
|
|
function f() pure pure {}
|
|
|
|
}
|
|
|
|
contract c4 {
|
|
|
|
function f() pure view {}
|
|
|
|
}
|
|
|
|
contract c5 {
|
|
|
|
function f() payable view {}
|
|
|
|
}
|
|
|
|
contract c6 {
|
|
|
|
function f() pure payable {}
|
|
|
|
}
|
|
|
|
contract c7 {
|
2020-07-14 07:12:15 +00:00
|
|
|
function f() view payable {}
|
2018-05-08 11:08:52 +00:00
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// ParserError 9680: (39-46): State mutability already specified as "payable".
|
|
|
|
// ParserError 9680: (88-92): State mutability already specified as "view".
|
|
|
|
// ParserError 9680: (134-138): State mutability already specified as "pure".
|
|
|
|
// ParserError 9680: (180-184): State mutability already specified as "pure".
|
|
|
|
// ParserError 9680: (229-233): State mutability already specified as "payable".
|
|
|
|
// ParserError 9680: (275-282): State mutability already specified as "pure".
|
2020-07-14 07:12:15 +00:00
|
|
|
// ParserError 9680: (324-331): State mutability already specified as "view".
|