<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/65290>65290</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
<format>: Is `std::format(L"{}", "test")` well-formed?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
hewillk
</td>
</tr>
</table>
<pre>
Stumbled upon the following code only accepted by libc++:
```cpp
#include <format>
int main() {
auto s = std::format(L"{}", "test");
}
```
https://godbolt.org/z/aeWfjWxrn
Not sure if this involves LWG or is just a bug. I'm not a format guy so feel free to correct me.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUk9v2z4M_TT0hWigUI4dH3xom59_KFDsskPP-kPb6mTLsKR22acfnKRYu9sAQhIp8uk9PKkY3TAzt3B4gMOpUDmNYW1Hfnfe_yh0sOf2e8qT9mwxL2HGNDL2wfvw7uYBTbCMYfZnVMbwktiiPqN32gA9bCHvQZxAfKyVuIZZlluFpJuNz5YR5GMf1kklkP99HnJzwkm5GegI1CDUD9c6osopYESQJ4zJbm_J-xsEHZ-BaOutT9uBHhGIEsd0yRqQN5Tt_iu3azqmtMQNkjqgbghWB592YR2Aul9AneKX_vXl5zp_pvotJIx5ZXQ9ptFFdPNb8G8c8fnlfwwruoivOSZUqPOwwyegesI5bIUrcRzyGWPAntljvzJjCmjCurJJOPGusK20jWxUwe2-auTxWJaiLsZWKbtvpOh1bRVpZWpZGS37_Z6s1JKbwrUkSIpGHISkqqx35f5oahKNlYfK2lJDKXhSzu-8f5s2pYWLMXNbHagRhVeaffz4J2u7Nd3pPEQohXcxxT9jySXP7Rc75T0-RYRK_LNPlcB39v5u62cLsivy6tu_3HFpzHpnwgTUbTRu292yhlc2Cai7SIlA3UXN7wAAAP__3dDiqg">