blob: ab520baaff145cc050ea2f77b37bfc58b43cb1da [file] [log] [blame]
// { dg-additional-options "-fsyntax-only -w" }
#include "coro.h"
int main (int ac, char *av[]) {
co_await coro::suspend_always{}; // { dg-error "cannot be used in the .main. function" }
}