steelannelida added inline comments.
Comment at: clang/test/Driver/fsplit-machine-functions-with-cuda-nvptx.c:16
+// causes a warning.
+// RUN: %clang --target=x86_64-unknown-linux-gnu -nogpulib -nogpuinc \
+// RUN: --cuda-gpu-arch=sm_70 -x cuda -fsplit-machine-functions -S
steelannelida added a comment.
Unfortunately the option -Wno-reserved-user-defined-literal fails after this:
#define MYTHING "_something_"
const char* f() {
return "ONE"MYTHING"TWO";
}
$ clang -Wno-reserved-user-defined-literal repro.cxx
repro.cxx:4:15: error: no matching litera