Debian Codegraph @

gcc/testsuite/g++.dg/modules/oacc-1_c.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]*oacc-1_c.C:4:1:\nfoo: error: module contains OpenACC, use '-fopenacc' to enable\n" }
7 // { dg-prune-output "failed to read" }
8 // { dg-prune-output "fatal error:" }
9 // { dg-prune-output "compilation terminated" }