1 // { dg-additional-options "-fsyntax-only -w" } 2 3 #include "coro.h" 4 5 auto f (int x = co_yield 5); // { dg-error {'co_yield' cannot be used outside a function} } bar(int x,...)6 7