tra added a comment. cuda-detect.cu may be a better place for this test.
================ Comment at: test/Driver/cuda-simple.cu:27 @@ -16,1 +26,3 @@ +// CHECK-CXXINCLUDE: clang{{.*}} "-cc1" "-triple" "x86_64--linux-gnu" {{.*}}"-internal-isystem" "{{.+}}/include/c++/4.8" +// CHECK-CXXINCLUDE: ld" {{.*}}"-m" "elf_x86_64" ---------------- Linker match pattern will cause problems on windows. We normally use `ld{{.*}}"` . Linker options are irrelevant here, IMO, as this line is only used as a marker for the end of the list of commands produced by compiler. https://reviews.llvm.org/D22946 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits