Skip to content

[C++20] [Modules] Regression module declaration must occur at the start of the translation unit #145274

@ChuanqiXu9

Description

@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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions