solidity/test/libsolidity/ASTJSON/documentation.sol
2019-10-02 22:31:12 +02:00

20 lines
346 B
Solidity

// ---- 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 {}
}
// ----