solidity/test/libsolidity/ASTJSON/documentation.sol

20 lines
346 B
Solidity
Raw Normal View History

2018-08-03 17:41:35 +00:00
// ---- SOURCE: a
/**This contract is empty*/ contract C {}
// ---- SOURCE: b
/**This contract is empty
and has a line-breaking comment.*/
contract C {}
// ---- SOURCE: c
contract C {
/** Some comment on Evt.*/ event Evt();
/** Some comment on mod.*/ modifier mod() { _; }
/** Some comment on fn.*/ function fn() public {}
}
// ----