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