Debian Codegraph @

gcc/testsuite/g++.dg/modules/omp-3_d.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2 // { dg-require-effective-target pthread }
3
4 import foo;
5
6 // { dg-regexp "In module imported at \[^\n]*omp-3_d.C:4:1:\nfoo: error: module contains OpenMP, use '-fopenmp' or '-fopenmp-simd' to enable\n" }
7 // { dg-prune-output "failed to read" }
8 // { dg-prune-output "fatal error:" }
9 // { dg-prune-output "compilation terminated" }