================ @@ -2,6 +2,170 @@ // RUN: %clang_cc1 -triple nvptx64-unknown-unknown -fcuda-is-device -O3 -o - %s -emit-llvm | FileCheck %s #include "Inputs/cuda.h" +struct char1 { ---------------- Artem-B wrote:
See above. propagate-attributes.cu just needs to apply `extern "C"` to the functions in the test file only. There's no magic there. It's used for convenience only to keep function names unmangled in the check patterns. https://github.com/llvm/llvm-project/pull/134758 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits