gcc/testsuite/g++.dg/modules/map-1_a.C
raw| 1 | // { dg-module-do run } |
| 2 | // { dg-additional-options "-fmodules-ts -fmodule-mapper=[srcdir]/map-1.map" } |
| 3 | |
| 4 | // Ick! no cross-host testing for you! |
| 5 | // { dg-additional-files map-1.map } |
| 6 | |
| 7 | export module frob; |
| 8 | // { dg-module-cmi "=map-1_a.nms" } |
| 9 | |
| 10 | export int frob (int i) |
| 11 | { |
| 12 | return -i; |
| 13 | } |