mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add one more test for invalid custom tag
This commit is contained in:
parent
4080748b1d
commit
7a7ff7af2f
@ -8,9 +8,12 @@ contract C {
|
||||
function h() public pure {}
|
||||
/// @custom:abc-def
|
||||
function i() public pure {}
|
||||
/// @custom
|
||||
function j() public pure {}
|
||||
}
|
||||
// ----
|
||||
// DocstringParsingError 6546: (0-14): Documentation tag @a&b not valid for contracts.
|
||||
// DocstringParsingError 2968: (28-49): Invalid character in custom tag @custom:x^y. Only lowercase letters and "-" are permitted.
|
||||
// DocstringParsingError 6546: (80-92): Documentation tag @custom: not valid for functions.
|
||||
// DocstringParsingError 2968: (123-141): Invalid character in custom tag @custom:abcDEF. Only lowercase letters and "-" are permitted.
|
||||
// DocstringParsingError 6546: (222-233): Documentation tag @custom not valid for functions.
|
||||
|
Loading…
Reference in New Issue
Block a user