Debian Codegraph @

reports/st/test_forfam.ll

raw
1 /*
2 * @progname test_forfam_it
3 * @version 1
4 * @author Stephen Dum
5 * @category self-test
6 * @output text
7 * @description
8 *
9 * test family iterator: forfam
10 * Iterate over some data, printing results, so we can
11 * compare the output with exected results.
12 */
13 proc main() {
14 print(nl())
15 forfam(f,c) { print(d(c),": ",key(f),nl()) }
16 }