ParserTests is a project mainly written in C++, it's free.
Testing Spirit from Boost/C++
This is a spirit test repository.
Compile files with clang++ file.cpp -o file
G++ may work.
Make sure boost is installed, I use /usr/local on a mac.