Skip to content
Snippets Groups Projects
Commit 75df9435 authored by Jerome Lambourg's avatar Jerome Lambourg Committed by Alexandre Oliva
Browse files

Remove VxWorks-specific test directives in g++.dg/warn/miss-format-1.C

These are no longer applicable.


for  gcc/testsuite/ChangeLog

	* g++.dg/warn/miss-format-1.C: Remove vxworks-specific test
	directives.
parent 8aba274d
No related branches found
No related tags found
No related merge requests found
...@@ -21,9 +21,7 @@ bar (const char *fmt, ...) ...@@ -21,9 +21,7 @@ bar (const char *fmt, ...)
{ {
va_list ap; va_list ap;
va_start (ap, fmt); va_start (ap, fmt);
vscanf (fmt, ap); /* { dg-warning "candidate" "scanf attribute warning" { xfail *-*-vxworks* } } */ vscanf (fmt, ap); /* { dg-warning "candidate" "scanf attribute warning" } */
/* VxWorks does not provide vscanf, either in kernel or RTP mode. */
/* { dg-error "not declared" "" { target *-*-vxworks* } .-2 } */
va_end (ap); va_end (ap);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment