forked from OSchip/llvm-project
parent
207bd4d90e
commit
b30f47a869
|
@ -59,7 +59,7 @@ void check_wide_string(char* b, ...)
|
|||
va_start(ap,b);
|
||||
|
||||
printf(L"foo %d",2); // expected-warning {{should not be a wide string}}
|
||||
vasprintf(&b,L"bar %d",2); // expected-warning {{should not be a wide string}}
|
||||
vasprintf(&b,L"bar %d",ap); // expected-warning {{should not be a wide string}}
|
||||
}
|
||||
|
||||
void check_asterisk_precision_width(int x) {
|
||||
|
|
Loading…
Reference in New Issue