diff options
Diffstat (limited to 'test/fuzzer.cpp')
-rw-r--r-- | test/fuzzer.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/fuzzer.cpp b/test/fuzzer.cpp index cf99755f..2c39dde2 100644 --- a/test/fuzzer.cpp +++ b/test/fuzzer.cpp @@ -20,6 +20,7 @@ #include <libevmasm/Assembly.h> #include <libevmasm/ConstantOptimiser.h> +#include <solc/jsonCompiler.h> #include <json/json.h> @@ -33,12 +34,8 @@ using namespace dev; using namespace dev::eth; namespace po = boost::program_options; -extern "C" +namespace { -extern char const* compileJSON(char const* _input, bool _optimize); -typedef void (*CStyleReadFileCallback)(char const* _path, char** o_contents, char** o_error); -extern char const* compileStandard(char const* _input, CStyleReadFileCallback _readCallback); -} bool quiet = false; @@ -169,6 +166,8 @@ void testCompiler() } } +} + int main(int argc, char** argv) { po::options_description options( |