================
@@ -85,4 +86,31 @@ void z_test(void *p) {
   scanf("%Z", p); // expected-warning{{invalid conversion specifier 'Z'}}
 }
 
+void w_int_test(void) {
----------------
AaronBallman wrote:

The printed result will depend on the C standard library used, so there's no 
way to verify that here. As for unsupported sizes, I think those should be 
emitted as a warning; you'll likely need to add a new warning for this along 
the lines of "format specifies %select{an exact-|a fastest-}0width integer type 
with invalid bit-width %1".

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

Reply via email to