<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56303>56303</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang] min(x)/max(x) is wrongly being interpreted as the min/max intrinsics
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang:frontend
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
NimishMishra
</td>
</tr>
</table>
<pre>
`flang-new` currently does not report any error for statements like the following:
```
integer :: x
x = min(x)
x = max(x)
```
whereas both require at least two arguments. `gfortran` correctly reports error on these statements
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdkN2S2yAMhZ_GvtGsB0P8d-GLdHb2rn0HbCs2WwypwHXy9hXObrvpDAgkgeZ8Z_DTvc9qcbHazS8Od77DuBGhi_YOk8cAzkcgvHqKoN0dkMgTXHiHqCOu_DKANT8R4oJct9bvxs2ZOmfiNROfsRYf60iNizgjQXqlznD7-vTG1VdYjctke8tk91TVt6fqf2MfcV-QUAcYfFxY-a_NEIKOYLkYIe4eNM3bIbwA_jszTCTtDnbP7GNifyCHD17vEl7AL9D51KupU53Oo4kW-6z6dtiYVU_q5ds_0WAC7OTdzPMHZJcgGUFXwogTsORk4fE3fUpNMi6YMeQb2X6J8RqSY_KN12zisg3F6FdOrP39ebxcyb8zAqcmhA0DX6paCZUvvWzqaSiFGNuqPZ2quqxEPTRTfWrLBhulcqsHtCGhZFI-aNT5woojuolLzJabXgopBY8sOZZdUdelKmVZteWEDXZtdhK4amOLJKfwNOfUH8qGbQ7ctCaw83-bOgQzOzwMTPP1FhdP_Q-zmrB85006P0j6A-MPl7vatg">