Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/gomp/pr91110.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// PR c++/91110 // { dg-do compile } void foo () { X b[2]; // { dg-error "'X' was not declared in this scope" } b[0] = 1; // { dg-error "'b' was not declared in this scope" } #pragma omp target map(to: b) // { dg-error "'b' does not have a mappable type in 'map' clause" } ; }