<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/58085>58085</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Possible regression between Clang 14 and 15 around modules (import <iostream>)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          risuwwv
      </td>
    </tr>
</table>

<pre>
    The following example compiles on Clang 14 but not on 15:

```
import <iostream>;

int main() {
    std::cout << "Hello Modular World!\n";
}
```

See https://godbolt.org/z/zW7fcGYK4 for error message and compiler options.

Did any flag change or is this a regression ?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUlFvnDAM_jXhxdopJATIAw_tXbtJ06RJm1TtMYAPUgWCktBb9-tnWE89TUXGxHH82fk-Wt-_Nj9HhLN3zl_sPAD-NtPiEDo_LdZhBD_D0RnK5AW0a4LZp20vV0zeMX5i_OpL_mZ7aKfFhwRMHq2PKaCZmHxg8v62xM4JJmNnJmomNLDqLQv0xNRvDeRd59cdhgyYEF-QJoVvvl-dCfDkg-uZyJk6Eop4x69OH071z_9AhDGlJW4dxCPZ4PvWu3TwYaDoz_Y-Vefu86-vBXETAEMgP2GMZkAwc3_lJ4BfkvVzPNw2ONmeDr3C2ZkBupHYQ6B6GyGN5AwEHAKBUSFd7THDJi_LQpV1UdVZ38heS22yZJPD5runcy0pclPTYrog3gizTZQrMMGvtJo2dkg64vVjGYTO1uCa_ziwaVzbA12MAuderp9PS_DP2CUKbYwrRlqomtcqGxtUqqw6KVXJS60LrivDe1VJneeyNK3InGnRxYape5JnxgvsEJtU6pTZRnAhuJZccF6p-mC0Pncl3f1ssENEVnCkH8Qdtjk2cbLQ7CO16xAp6WxM8T1piJ1hRtzbEb5Z0-hDE2xcL5eXbG_d7KP_BaBJ6cU">