Index: tests/errors/suspend.cfa
===================================================================
--- tests/errors/suspend.cfa	(revision 9306559f2fb7cb170efbe0a74f6e55fbf414688a)
+++ tests/errors/suspend.cfa	(revision 9306559f2fb7cb170efbe0a74f6e55fbf414688a)
@@ -0,0 +1,36 @@
+//
+// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
+//
+// The contents of this file are covered under the licence agreement in the
+// file "LICENCE" distributed with Cforall.
+//
+// suspend.cfa --
+//
+// Author           : Thierry Delisle
+// Created On       : Thu Mar  5 16:03:16 2020
+// Last Modified By :
+// Last Modified On :
+// Update Count     :
+//
+
+#include <coroutine.hfa>
+
+generator A {};
+
+void main(A & a) {
+	suspend {
+		suspend;
+	}
+
+	suspend{
+		int foo() { return 3; }
+	}
+}
+
+coroutine B {};
+
+void main(B & b) {
+	suspend generator;
+
+	suspend {};
+}
