| 1 |
// { dg-additional-options "-fmodules-ts -fdump-lang-module-blocks" } |
| 2 |
|
| 3 |
export module foo:part2; |
| 4 |
// { dg-module-cmi {foo:part2} } |
| 5 |
|
| 6 |
import :part1; |
| 7 |
|
| 8 |
struct frob::inner |
| 9 |
{ |
| 10 |
int i; |
| 11 |
}; |
| 12 |
|
| 13 |
// { dg-final { scan-lang-dump { Cluster members:\n \[0\]=decl definition '::frob@foo:part1:1::inner'\n \[1\]=decl declaration '::frob@foo:part1:1::inner::inner'\n} module } } |
| 14 |
// { dg-final { scan-lang-dump {Pending member '::frob@foo:part1:1::inner' entity:0 section:. keyed to '::frob'} module } } |