mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
21 lines
406 B
Solidity
21 lines
406 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 state var.*/ uint public state;
|
|
/** Some comment on Evt.*/ event Evt();
|
|
/** Some comment on mod.*/ modifier mod() { _; }
|
|
/** Some comment on fn.*/ function fn() public {}
|
|
}
|
|
|
|
// ----
|