================
@@ -0,0 +1,10 @@
+// RUN: not %clang_cc1 -triple x86_64-unknown-unknown -fsycl-is-device %s 2>&1 
| FileCheck --check-prefixes=INVALID %s
----------------
Fznamznon wrote:

Ok. I see, thanks!

> I wasn't sure how to test errors thrown by Frontend component and I checked a 
> couple of other tests in the folder and saw this was how the errors were 
> tested. So I followed what I saw.

Yeah, I was curious why it is done this way.

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

Reply via email to