mirror of
https://github.com/kennethreitz/context.git
synced 2026-06-05 23:00:17 +00:00
17 lines
379 B
LLVM
17 lines
379 B
LLVM
/*
|
|
* @progname test_forindi_it
|
|
* @version 1
|
|
* @author Stephen Dum
|
|
* @category self-test
|
|
* @output text
|
|
* @description
|
|
*
|
|
* test indi iterator: forindi
|
|
* Iterate over some data, printing results, so we can
|
|
* compare the output with exected results.
|
|
*/
|
|
proc main() {
|
|
print(nl())
|
|
forindi(i,c) { print(d(c),": ",key(i),nl()) }
|
|
}
|