================
@@ -0,0 +1,11 @@
+// Host-side compilation on x86 (no errors expected).
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -aux-triple nvptx64 
-fopenmp -x c -fsyntax-only -verify=host %s
+
+// Device-side compilation for targets without 128-bit float/complex support 
(no errors expected).
----------------
tahonermann wrote:

I think @Fznamznon's example should produce a (possibly deferred) diagnostic as 
should this example: https://godbolt.org/z/h354W9T7d.

At a minimum, the test(s) should exercise use in a device function with a FIXME 
stating that a diagnostic should be issued for such usage.


https://github.com/llvm/llvm-project/pull/214497
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to