1 // { dg-additional-options "-fsyntax-only -w" } 2 3 #include "coro.h" 4 5 int x = co_await coro::suspend_always{}; // { dg-error {'co_await' cannot be used outside a function} } 6