analyzer/strndup-1.c: skip on *-*-vxworks*

Add vxworks to the set of operating systems whose C libraries don't
support strndup.


for  gcc/testsuite/ChangeLog

	* gcc.dg/analyzer/strndup-1.c: Add *-*-vxworks* to no-strndup
	in libc.
This commit is contained in:
Alexandre Oliva 2022-03-29 22:47:19 -03:00 committed by Alexandre Oliva
parent a5a8d51278
commit e3d2b0d040
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
/* { dg-skip-if "no strndup in libc" { *-*-darwin[789]* *-*-darwin10* *-*-mingw* } } */
/* { dg-skip-if "no strndup in libc" { *-*-darwin[789]* *-*-darwin10* *-*-mingw* *-*-vxworks* } } */
#include <string.h>
#include <stdlib.h>