Call has wrong number of parameters

Hi,
Is this piece of code not supported?

#include <iostream>
#include <vector>

class Event {
public:
        virtual Event* clone() const = 0;
        int test2() { return 1024;};
};

class SpikeEvent : public Event {
public:
        using Event::test2;
        SpikeEvent* clone() const {};
};

int main() {
   SpikeEvent se;
#pragma omp target parallel for map(to: se)
   for (int i=0;i<1024;i++) {
      printf("%d\n", se.test2());
   }
}

$ clang++ -fopenmp -fopenmp-targets=nvptx64 test.cpp
[...]
2 warnings generated.
ptxas /tmp/test-1ef76d.s, line 179; error : Call has wrong number of
parameters
ptxas fatal : Ptx assembly aborted due to errors
clang-13: error: ptxas command failed with exit code 255 (use -v to
see invocation)
clang version 13.0.0 (https://github.com/llvm/llvm-project
dde123993f50df5b95e311e6ff67f645cd273809)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /p/project/cjzam11/kitayama1/opt/clang/bin