diff options
Diffstat (limited to 'clang/test/Sema/wchar.c')
| -rw-r--r-- | clang/test/Sema/wchar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/wchar.c b/clang/test/Sema/wchar.c index edec2b30cea..28ec2f14ceb 100644 --- a/clang/test/Sema/wchar.c +++ b/clang/test/Sema/wchar.c @@ -17,6 +17,6 @@ int check_wchar_size[sizeof(*L"") == sizeof(wchar_t) ? 1 : -1]; void foo() { WCHAR_T_TYPE t1[] = L"x"; wchar_t tab[] = L"x"; - WCHAR_T_TYPE t2[] = "x"; // expected-error {{initialization}} - char t3[] = L"x"; // expected-error {{initialization}} + WCHAR_T_TYPE t2[] = "x"; // expected-error {{initializer}} + char t3[] = L"x"; // expected-error {{initializer}} } |

