(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
coroutines/
pr94886-folly-3.C
#include "coro.h"
#include "coro1-ret-int-yield-int.h"

#include <array>

coro1
my_coro ()
{
  const std::array<int, 5> expectedValues = {{0, 3, 1, 4, 2}};

  for (int expectedValue : expectedValues) {
    co_yield expectedValue;
  }
}