#995000 g++-11: module partition defining a class won't compile

Package:
g++-11
Source:
gcc-11
Description:
GNU C++ compiler
Submitter:
Frank Brokken
Date:
2021-09-24 13:51:04 UTC
Severity:
normal
#995000#5
Date:
2021-09-24 13:47:37 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

While performing some tests using modules I first defined a module defining a
class type. Its compilation completed flawlessly. Next I defined a module
partition defining a class type. It's compilation failed.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

First the module that was successfully compiled:

    I defined the following module interface (in, e.g., 'module.cc'):