Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/coroutines/torture/pr92933.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
// { dg-do compile } // Test that we compile the simple case described in PR 92933 #include "../coro.h" #define RETURN_VOID #include "../coro1-ret-int-yield-int.h" struct some_error {}; coro1 foo() { try { co_return; } catch (some_error) { } }