gcc/testsuite/g++.dg/modules/pr99166_a.X
raw| 1 | // PR c++/99166, diagnostic |
| 2 | // { dg-additional-options {-x c++-system-header iostream -fmodules-ts -flang-info-module-cmi} } |
| 3 | // { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } } |
| 4 | |
| 5 | // { dg-regexp {[^\n]*iostream: note: writing CMI 'gcm.cache/[^[\n]*iostream.gcm'\n} } |
| 6 | // { dg-prune-output {linker input file unused} } |
| 7 | |
| 8 | NO DO NOT COMPILE |