blob: 547f1a31c0c66795ca9550fabd307869fd0745a0 [file] [log] [blame]
// { dg-additional-options "-fsyntax-only -w" }
#include "coro.h"
void foo () {
co_yield; // { dg-error "expected primary-expression before" }
}