Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
coroutines
/
co-return-syntax-01-outside-fn.C
blob: 3fcd8dd104d95fa68e5b18212967078e7e1955a0 [
file
] [
log
] [
blame
]
// { dg-additional-options "-fsyntax-only -w" }
#include
"coro.h"
co_return
;
// { dg-error {expected unqualified-id before 'co_return'} }