Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/gomp/pr58703.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* PR c++/58703 */ /* { dg-do compile } */ /* { dg-options "-fopenmp" } */ #pragma omp declare reduction (+ : char[] : omp_out += omp_in) /* { dg-error "function or array type" } */ #pragma omp declare reduction (+ : char() : omp_out += omp_in) /* { dg-error "function or array type" } */