| 1 |
// { dg-additional-options "-fmodules-ts -fdump-lang-module-graph-blocks" } |
| 2 |
|
| 3 |
export module malfoy; |
| 4 |
// { dg-module-cmi malfoy } |
| 5 |
|
| 6 |
import voldy; |
| 7 |
|
| 8 |
void interpose () |
| 9 |
{ |
| 10 |
// Force renumber of anon vars |
| 11 |
auto lambda = [] () {}; |
| 12 |
} |
| 13 |
|
| 14 |
export auto conduit (int i) |
| 15 |
{ |
| 16 |
return frobber (i); |
| 17 |
} |
| 18 |
|
| 19 |
// { dg-final { scan-lang-dump-not {Cluster import } module } } |
| 20 |
// { dg-final { scan-lang-dump-not {onnecting definition decl type_decl:'::frobber@voldy:.::._anon_1@voldy:.'} module } } |