2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
12 char *string
= "test";
15 TEST( strchr( string
, '\0' ) != NULL
);
17 p
= strchr( string
, 't' );
18 TEST( *p
== 't' && p
== &string
[0] );
20 p
= strchr( ++p
, 't' );
21 TEST( *p
== 't' && p
== &string
[3] );
23 TEST( strchr( ++p
, 't' ) == NULL
);
30 /* Nothing to clean up */