| 1 |
// { dg-additional-options "-fmodules-ts -fdump-lang-module-blocks" } |
| 2 |
export module foo; |
| 3 |
// { dg-module-cmi foo } |
| 4 |
|
| 5 |
|
| 6 |
export enum class file_type : signed char { none = 0 }; |
| 7 |
|
| 8 |
export class directory_entry |
| 9 |
{ |
| 10 |
public: |
| 11 |
directory_entry(int); |
| 12 |
|
| 13 |
int _M_path; |
| 14 |
|
| 15 |
// ICE from deferred_parse NSDMI in as_base class |
| 16 |
file_type _M_type = file_type::none; |
| 17 |
}; |
| 18 |
|
| 19 |
// { dg-final { scan-lang-dump {Cluster members:\n \[0\]=decl definition '::directory_entry'\n \[1\]=decl definition '::directory_entry::__as_base '\n \[2\]=decl declaration '::directory_entry::__ct '\n} module } } |