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