Deleted Added
sdiff udiff text old ( 13465:dee578a46d87 ) new ( 14067:2c3667b32607 )
full compact
1/*
2 * Copyright (c) 2018 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 30 unchanged lines hidden (view full) ---

39
40#include <gtest/gtest.h>
41
42#include "base/coroutine.hh"
43
44using namespace m5;
45
46/**
47 * This test is checking if the Coroutine, once it yields
48 * back to the caller, it is still marked as not finished.
49 */
50TEST(Coroutine, Unfinished)
51{
52 auto yielding_task =
53 [] (Coroutine<void, void>::CallerType& yield)
54 {

--- 208 unchanged lines hidden ---