https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122646
Alberto <alberto.gcc.bugzilla at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alberto.gcc.bugzilla@gmail.
| |com
--- Comment #2 from Alberto <alberto.gcc.bugzilla at gmail dot com> ---
Thank you
I have tested your reduced testcase on Compiler Explorer and doesn't reproduce
there (perhaps r16-52a24bc had something to do).
The example in comment #0 still fails with Compiler Explorer's version, but
with a different error involving std::construct_at.
This error also occurs with simply (https://godbolt.org/z/z9ojaen3x):
``` M.cpp
export module M;
import std;
export
template<typename>
void foo(int n)
{
std::vector<int> u(n);
}
```
``` main.cpp
import M;
int main()
{
foo<int>(10);
}
```
Perhaps I didn't set things up correctly. I don't usually use CMake.