Fix up 'gcc.dg/pr78213.c' for '--enable-checking=release' etc.

Fix up for r242748 (commit 3615816da8)
"[PR target/78213] Do not ICE on non-empty -fself-test", as made
apparent by recent commit a42467bdb7
"Restore 'gcc.dg/pr78213.c' testing", after the test case had gotten
disabled in r243681 (commit ecfc21ff34)
"Introduce selftest::locate_file" shortly after its original introduction.

	gcc/testsuite/
	PR testsuite/101969
	* gcc.dg/pr78213.c: Fix up for '--enable-checking=release' etc.
This commit is contained in:
Thomas Schwinge 2021-08-19 08:25:47 +02:00
parent 1db70e61a9
commit b7fc42073c

View File

@ -8,4 +8,5 @@ int i;
while (i--)
bar();
}
/* { dg-message "fself\-test: " "-fself-test" { target *-*-* } 0 } */
/* { dg-regexp {^-fself-test: [0-9]+ pass\(es\) in [.0-9]+ seconds$|.*: note: self-tests are not enabled in this build$} } */