Index: tests/generator/.expect/fibonacci.txt
===================================================================
--- tests/generator/.expect/fibonacci.txt	(revision 427854baeaba2d97cb23623b6d3c3ad7f7b0dbdd)
+++ tests/generator/.expect/fibonacci.txt	(revision 427854baeaba2d97cb23623b6d3c3ad7f7b0dbdd)
@@ -0,0 +1,10 @@
+0 0
+1 1
+1 1
+2 2
+3 3
+5 5
+8 8
+13 13
+21 21
+34 34
Index: tests/generator/fibonacci.cfa
===================================================================
--- tests/generator/fibonacci.cfa	(revision 427854baeaba2d97cb23623b6d3c3ad7f7b0dbdd)
+++ tests/generator/fibonacci.cfa	(revision 427854baeaba2d97cb23623b6d3c3ad7f7b0dbdd)
@@ -0,0 +1,41 @@
+//
+// Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo
+//
+// The contents of this file are covered under the licence agreement in the
+// file "LICENCE" distributed with Cforall.
+//
+// fibonacci.cfa
+//
+// Author           : Thierry Delisle
+// Created On       : Mon Mar  1 16:54:23 2020
+// Last Modified By :
+// Last Modified On :
+// Update Count     :
+//
+
+generator Fib {
+	int fn1, fn;
+};
+
+void main(Fib & b) with (b) {
+	[fn1, fn] = [1, 0];
+	for () {
+		suspend;
+		[fn1, fn] = [fn, fn + fn1];
+	}
+}
+
+int main() {
+	Fib f1, f2;
+	for ( 10 ) {
+		resume( f1 );
+		resume( f2 );
+		printf("%d %d\n", f1.fn, f2.fn);
+	}
+
+}
+
+// Local Variables: //
+// tab-width: 4 //
+// compile-command: "cfa fibonacci.cfa" //
+// End: //
