-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi!
the following causes clang to crash:
mods/test.mpp:
export module test;
export namespace test {
template<class T>
struct type {
consteval -> namespace(test) fragment namespace {};
};
}main.cpp:
import test;
int main() {
auto x = test::type<int>{};
}how to compile:
clang++ -fprebuilt-module-path=./mods/ -freflection -std=c++2a -x c++ -c mods/test.mpp -Xclang -emit-module-interface -o mods/test.pcm
clang++ -fprebuilt-module-path=./mods/ -freflection -std=c++2a -c main.cpp -o main.oI believe the issue is caused here:
| // FIXME: The point of instantiation is probably wrong. |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels