Issue 139668
Summary Modules Header Unit Multiple Definition
Labels new issue
Assignees
Reporter CubedProgrammer
    This following code.
```cpp
import <sstream>;
import <string>;
std::string s;
```
Compiled with
```
clang++ -std=c++20 -stdlib=libc++ -fmodule-file=sstream.pcm -fmodule-file=string.pcm -c PROGRAM.cc
```
Will produce a multiple definition error, saying that string is defined twice.

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to