| 1 |
// { dg-additional-options "-fmodules-ts -fdump-lang-module-uid" } |
| 2 |
|
| 3 |
import malfoy; |
| 4 |
|
| 5 |
void interpose () |
| 6 |
{ |
| 7 |
// Force renumber of anon vars |
| 8 |
auto lambda0 = [] () {}; |
| 9 |
auto lambda1 = [] () {}; |
| 10 |
auto lambda2 = [] () {}; |
| 11 |
} |
| 12 |
|
| 13 |
int main () |
| 14 |
{ |
| 15 |
auto widget = conduit (2); |
| 16 |
|
| 17 |
return !(widget (8) == 10); |
| 18 |
} |
| 19 |
|
| 20 |
// { dg-final { scan-lang-dump {Loading entity voldy\[1\] section:1} module } } |
| 21 |
// { dg-final { scan-lang-dump {Indirect:-[0-9]* decl's type record_type:'::frobber@voldy:.::._anon_3@voldy:.'} module } } |