diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-24 02:28:29 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-24 02:28:29 +0000 |
commit | 78c97fb0bb295f1235469d47e1384a56252090ee (patch) | |
tree | 6f2f7b9aeafa491c4d458df6d02766b30236da6a /test/Sema/format-strings.c | |
parent | 328ce34c7d0c4e8696d352853b48b385dec1fef4 (diff) |
Disable one test case because of the inconsistent results it is giving on
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
Diffstat (limited to 'test/Sema/format-strings.c')
-rw-r--r-- | test/Sema/format-strings.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Sema/format-strings.c b/test/Sema/format-strings.c index 4cd4db26eb..e2686a885e 100644 --- a/test/Sema/format-strings.c +++ b/test/Sema/format-strings.c @@ -214,7 +214,9 @@ void test_unicode_conversions(wchar_t *s) { 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 *'}} } |