source: tests/algorithms/range_test.cfa @ 8e658241

ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change on this file since 8e658241 was 8e658241, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Minor fix and super barebones test.

  • Property mode set to 100644
File size: 551 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// range_test.cfa --
8//
9// Author           : Thierry Delisle
10// Created On       : Thu Dec 02 17:13:24 2021
11// Last Modified By :
12// Last Modified On :
13// Update Count     :
14//
15
16#include <fstream.hfa>
17#include <algorithms/range_iterator.hfa>
18
19int main() {
20        {
21                RangeIter r = { "0-6" };
22                while(moveNext(r)) {
23                        sout | r.com | nonl;
24                }
25                sout | nl;
26        }
27}
Note: See TracBrowser for help on using the repository browser.