gcc/testsuite/g++.dg/modules/gc-1_d.C
raw| 1 | // { dg-additional-options "-fmodules-ts --param ggc-min-expand=0 --param ggc-min-heapsize=0" } |
| 2 | |
| 3 | import bob; |
| 4 | import stuart; |
| 5 | import kevin; |
| 6 | |
| 7 | void frob () |
| 8 | { |
| 9 | } |
| 10 | |
| 11 | void stuart (int); |
| 12 | |
| 13 | void quux () |
| 14 | { |
| 15 | bob (); |
| 16 | } |
| 17 | |
| 18 | void toto () |
| 19 | { |
| 20 | stuart (1); |
| 21 | } |
| 22 | |
| 23 | void fido () |
| 24 | { |
| 25 | stuart (); |
| 26 | kevin (); |
| 27 | } |
| 28 |