view gcc/testsuite/g++.dg/gomp/pr94512.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

// PR c++/94512

void
foo ();

template <int>
void
bar ()
{
#pragma omp parallel master taskloop
  foo ();	// { dg-error "for statement expected before" }
}

void
baz ()
{
  bar<0> ();
}