3 // Test local vars in nested scopes
7 // boiler-plate for tests of codegen
8 #include "../coro1-ret-int-yield-int.h"
18 PRINTF ("coro1: about to return %d\n", fred);
23 PRINT ("coro1: about to return the answer\n");
32 PRINT ("main: create coro1");
33 struct coro1 x = f (6194);
34 PRINT ("main: got coro1 - resuming");
38 PRINT ("main: after resume");
39 int y = x.handle.promise().get_value();
44 PRINT ("main: apparently not done...");
48 PRINT ("main: returning");