================ @@ -0,0 +1,9 @@ +// RUN: %clang --cuda-device-only -S -emit-llvm -o - %s 2>&1 | FileCheck %s ---------------- yxsamliu wrote:
This test currently fails when CUDA is not installed. Could you use `%clang_cc1` with the mocked CUDA headers, like the existing tests under `clang/test/Headers`? It would also be good to include a small pure/deleted virtual class and check that the functions call `llvm.trap`. https://github.com/llvm/llvm-project/pull/217427 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
