================
@@ -1,11 +1,12 @@
 // RUN: %clang_cc1 -isystem %S/Inputs/ -fsycl-is-device -triple spirv64 
-aux-triple x86_64-pc-windows-msvc -fsyntax-only -verify %s
 // RUN: %clang_cc1 -isystem %S/Inputs/ -fsycl-is-device -triple spirv64 
-fsyntax-only -verify=expected,no-aux %s
 
-// Check that there is no error/warning emitted for cdecl functions compiled 
for
-// SYCL device. Make sure variadic calls from within device code are diagnosed.
+// Check that there is no error/warning emitted for non-variadic cdecl 
functions
+// compiled for SYCL device. Make sure variadic cdecl functions and variadic
+// calls from within device code are diagnosed.
 
 // no-aux-warning@+2 {{'__cdecl' calling convention is not supported for this 
target}}
-// no-aux-error@+1 {{variadic function cannot use spir_function calling 
convention}}
+// expected-error@+1 {{variadic function cannot use cdecl calling convention}}
----------------
aobolensk wrote:

Ok, I've got what you mean. I'll proceed after this one is merged then

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

Reply via email to