<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/163124>163124</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
L'ab' is an error
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tydeman
</td>
</tr>
</table>
<pre>
#include <wchar.h>
int main(void){
if(1){
static wchar_t wc = L'ab';
}
return 0;
}
Fails to compile with this error:
test190.c:5:25: error: wide character literals may not contain multiple characters
C23 says in 6.4.4.5, paragraph 15 that this is implementation defined.
Since I cannot find the implementation documentation, I do not know if this is a
valid error or a bug.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkUtGK4zoM_RrlRUxI5KSZPuShM3MLA_dtP2BxHLXRrmMXW2np3y9phs7CgrGwrKNzZB-bs5wDcw_tG7QfhV10iqnX-8izDcUQx3sPZCQ4v4yMYN5vbrKpnMD8B9VBguJsJQC9XqOMQHvo3qA6IMoJ6LX-TmS1Kg4f6J-KN4dgPvB_oM4OQB2YDQbdxyMm1iUFrLb8loXqcLTiM2pEF-eLeMab6IQ6SUZOKSYwa5Vy1npflQ7MoQVzoHV7FuBNRsZVh3XKCb0oJ-szzvaOISq6GNRKwHnxKhf_V23eVLyTwWzvGSXgrmzKpmyB3vFikz0ne5mwblEnq5uwdc0XzzOH9Q1iwJFPEngst24_JDjGT3Q2rOwnCSPqxP-Aoluep5XuE8f40Ps7xBvK6clmoTpcrZdxGxljQovDcl75irE3497sbcF93e0qQ_vGUDH19XDqbGtM1zZVs-vYEDHbpnPG7HeNey2kp4rauqpN1ZBpqTSDM91pbBvTtvudaaGpeLbiS--vcxnTuZCcF-7rnampKbwd2OeHz4gC3_BxC0Sr7VK_gl6G5Zyhqbxkzd9tVNRz_7TKY8SwzVYsyfeT6iWvP09HoONZdFqG0sUZ6Lj2-AovlxR_sVOg44M5Ax2_pF17-hMAAP__Zqnz6g">