Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
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'} }