Windows and Mac OS X. Will investigate later.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97016
91177308-0d34-0410-b5e6-
96231b3b80d8
printf("%s", s); // expected-warning{{conversion specifies type 'char *' but the argument has type 'wchar_t *'}}
printf("%C", s[0]); // no-warning
printf("%c", s[0]);
- printf("%C", 10);
+ // FIXME: This test reports inconsistent results. On Windows, '%C' expects
+ // 'unsigned short'.
+ // printf("%C", 10);
// FIXME: we report the expected type as 'int*' instead of 'wchar_t*'
printf("%S", "hello"); // expected-warning{{but the argument has type 'char *'}}
}