<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/139665>139665</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[OpenMP] crash on invalid with metadirective
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
k-arrows
</td>
</tr>
</table>
<pre>
Reproducer:
https://godbolt.org/z/aGxv1PG6d
```cpp
void f(){
#pragma omp metadirective(
}
```
Essentially the same as https://github.com/llvm/llvm-project/issues/139360, but not yet fixed
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykkc2O3CAQhJ-mfUE7wo1_1gcO3ky8pyirvEFjesYk2FiAPTt5-sgTRfm5RkKiJEqljypKyV0XZg31C9TngrY8hai_PVGM4ZYKE-xdf-E1BruNHEH1IPsp5zUdEgfA4RqsCT6fQrwCDt8BB3p938u318aC7KGRP8-4riD7PTgrLoDPgB20L4cB1RrpOpMI8ypmzmRd5DG7nQ-b7KE9_5lzaNl_TImX7Mj7u8gTi0QzC0riHzSXp82cxjADDt7vv66nNYavPGbAwaW0cQIcStWpRgJ-EGbLYglZ3DmLi3tnW1itbKc6KliXbdWWsm1QFZOuCFmZsaTWqkttG66MHdtKXRRSi1VZOI0Sa1mXSqpKojqZy3PHXalqsnY02EEleSbnTwfWUWHxANKl6pqmLjwZ9ukxDuLCN_F4BcRjq6gffzHbNUElvUs5_Y7JLvvHqp9XXj69QX0WY6Q0ibAIt-zknRU3l6e_Gy-26PV_dXhQ7xp_BAAA__9a9bwy">