Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/g++.dg/modules/omp-1_c.C
2023-03-06 14:48:14 +01:00

10 lines
354 B
C

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