aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTJSON/documentation.sol
blob: e65af9b44958e7e21f9daae94bdbf5a1b4821f8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// ---- 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 {}
}