Issue 145274
Summary [C++20] [Modules] Regression module declaration must occur at the start of the translation unit
Labels clang:modules
Assignees
Reporter ChuanqiXu9
    Reproducer: https://godbolt.org/z/eP84dnKGv

```
# 1 __FILE__ 1 3
export module a;
```

I believe this should be accepted no matter what spec says.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to