sic/src/testfoohash.cc

21 lines
357 B
C++
Raw Normal View History

2013-11-22 15:35:29 +01:00
#include <cstring>
#include <iostream>
using std::strcmp;
#include "Foohash.H"
using std::cout;
using std::endl;
int main(int argc, char *argv[])
{
Foohash fh;
cout << (fh.in_word_set("/static" , sizeof("/static")-1 )?"ja":"nein") << endl;
return 0;
if(argc) argv++;
}
// http://www.ibm.com/developerworks/linux/library/l-gperf/index.html#toggle