[PATCH] RISC-V: Bugfix for unrecognizable insn for XTheadVector
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / map-3.C
blobc45f8509521d8abf9d94693d9a37107f4b8814b2
1 // PR c++/106858
2 // { dg-additional-options "-fopenmp -fsanitize=undefined" }
4 class A {
5   void f() {
6     #pragma omp target map(this->f) // { dg-error "member function" }
7     ;
8   }
9 };