diff --git a/test/regression/bug7624.cpp b/test/regression/bug7624.cpp new file mode 100644 index 0000000..0516c6a --- /dev/null +++ b/test/regression/bug7624.cpp @@ -0,0 +1,12 @@ +#include +#include + +using namespace boost::phoenix::placeholders; +using namespace boost::phoenix; + +int main() +{ + find(boost::as_literal("fox"), 'x')(); // works + find(boost::as_literal("fox"), construct(arg1))('x'); // works + find(boost::as_literal("fox"), arg1)('x'); // compilation error +}