blob: 0d77c36f0306fe0fba6acdf9f20a3ec73264f7c1 [file] [log] [blame]
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101657
// { dg-do compile }
// { dg-additional-options "-H" }
void fun101657()
{
fail; // { dg-error "undefined identifier 'fail'" }
}
// { dg-final { if ![file exists pr101657.di] \{ } }
// { dg-final { pass "gdc.dg/pr101657.d (file exists pr101657.di)" } }
// { dg-final { \} else \{ } }
// { dg-final { fail "gdc.dg/pr101657.d (file exists pr101657.di)" } }
// { dg-final { \} } }