gcc/testsuite/g++.dg/modules/inst-4_b.C
raw| 1 | // { dg-additional-options {-fmodules-ts -fdump-lang-module-alias} } |
| 2 | import foo; |
| 3 | |
| 4 | int main () |
| 5 | { |
| 6 | TPL<int> x; |
| 7 | if (user (1) != 1) |
| 8 | return 1; |
| 9 | return 0; |
| 10 | } |
| 11 | |
| 12 | // { dg-final { scan-lang-dump {Reading 2 pending entities keyed to '::TPL'} module } } |
| 13 | // { dg-final { scan-lang-dump {Read:-[0-9]*'s type spec merge key \(new\) type_decl:'::TPL'} module } } |