Debian Codegraph @

gcc/testsuite/g++.dg/gomp/map-3.C

raw
1 // PR c++/106858
2 // { dg-additional-options "-fopenmp -fsanitize=undefined" }
3
4 class A {
5 void f() {
6 #pragma omp target map(this->f) // { dg-error "member function" }
7 ;
8 }
9 };