Fix a warning

llvm-svn: 42973
This commit is contained in:
Anders Carlsson 2007-10-15 02:50:04 +00:00
parent 207bd4d90e
commit b30f47a869
1 changed files with 1 additions and 1 deletions

View File

@ -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) {