https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28032
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Aha, it needs a non-empty set of args, which can be ignored. So:
proc dg-gfortran-onepass { args } {
global DO_ONE_PASS
set DO_ONE_PASS 1
puts "\nRunning dg-gfortran-onepass\n"
}
and then in the tests:
! { dg-gfortran-onepass "" }
