Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 11 lines (9 sloc) 0.191 kb
b948fcd fix Thomas Ogrisegg's name in the credits.
fefe authored
1 #include <assert.h>
2 #include <string.h>
3
737402a remove many warnings from test suite (Gwenole)
fefe authored
4 int main() {
b948fcd fix Thomas Ogrisegg's name in the credits.
fefe authored
5 const char* x="foo bar baz";
6 assert(strrchr(x,'z')==x+10);
7 assert(strrchr(x,' ')==x+7);
8 assert(strrchr(x,'x')==0);
737402a remove many warnings from test suite (Gwenole)
fefe authored
9 return 0;
b948fcd fix Thomas Ogrisegg's name in the credits.
fefe authored
10 }
Something went wrong with that request. Please try again.