gcc/testsuite/g++.dg/modules/pr99166_b.C
raw| 1 | // { dg-additional-options {-fmodules-ts -flang-info-module-cmi=<iostream>} } |
| 2 | // { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } } |
| 3 | |
| 4 | export module Foo; |
| 5 | import <iostream>; |
| 6 | |
| 7 | export void frob (); |
| 8 | |
| 9 | // { dg-regexp {In module imported at [^\n]*pr99166_b.C:[0-9:]*\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n} } |