================
@@ -111,3 +111,9 @@ __attribute__((target_version("default"))) int 
invalidVerson4(void) { return 2;
 __attribute__((target_version("priority=1"))) int prioriyWithoutArch(void) { 
return 2; }
 // expected-error@+1 {{redefinition of 'prioriyWithoutArch'}}
 __attribute__((target_version("default"))) int prioriyWithoutArch(void) { 
return 2; }
+
+// expected-warning@+2 {{unsupported '-1' in the 'target_version' attribute 
string; 'target_version' attribute ignored}}
----------------
BeMg wrote:

I plan to create another PR to make the warning messages consistent.


https://github.com/llvm/llvm-project/pull/112161
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to