gcc/testsuite/g++.dg/modules/gmf-1_b.C
raw| 1 | // { dg-additional-options "-fmodules-ts -fdump-lang-module" } |
| 2 | |
| 3 | import hello; |
| 4 | int main (void) |
| 5 | { |
| 6 | greeter ("world"); |
| 7 | return 0; |
| 8 | } |
| 9 | |
| 10 | // { dg-final { scan-lang-dump {Reading definition of '::template basic_string_view@hello:1'} module } } |
| 11 | // { dg-final { scan-lang-dump {Read declaration of '::basic_string_view@hello:1<char>'} module } } |
| 12 | // { dg-final { scan-lang-dump {Read declaration of '::greeter@hello:1'} module } } |