gcc/testsuite/g++.dg/modules/imp-member-1_d.C
raw| 1 | // { dg-additional-options "-fmodules-ts -fdump-lang-module-blocks" } |
| 2 | import B; |
| 3 | |
| 4 | void fn () |
| 5 | { |
| 6 | C c; // creates C::C implicitly (we never read B's version) |
| 7 | } |
| 8 | |
| 9 | // { dg-final { scan-lang-dump-not {Read:-1's named merge key \([a-z]*\) function_decl:'::C@A:.::__ct '\n} module } } |
| 10 | // { dg-final { scan-lang-dump-not {Adding implicit member '::C@A:.::__ct @B:.} module } } |