aboutsummaryrefslogtreecommitdiffstats
path: root/test/fuzzer.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-29 20:07:24 +0800
committerGitHub <noreply@github.com>2017-08-29 20:07:24 +0800
commit2d39a42d37cd03e62d0295e8137f2c411b9b1b9f (patch)
tree40f0db81ff5be70cf999708b8094b1cd896cd66f /test/fuzzer.cpp
parent21bc6fd3051e2a751767ebd7ac3acaa9ed8ba112 (diff)
parent7fb4a64136af18f2b61aef71ecc33ccbbc790ec6 (diff)
downloaddexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.tar
dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.tar.gz
dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.tar.bz2
dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.tar.lz
dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.tar.xz
dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.tar.zst
dexon-solidity-2d39a42d37cd03e62d0295e8137f2c411b9b1b9f.zip
Merge pull request #2843 from ethereum/anonymous-cleanup
Move all file specific globals to anonymous namespace
Diffstat (limited to 'test/fuzzer.cpp')
-rw-r--r--test/fuzzer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fuzzer.cpp b/test/fuzzer.cpp
index cf99755f..c3a321f7 100644
--- a/test/fuzzer.cpp
+++ b/test/fuzzer.cpp
@@ -40,6 +40,9 @@ typedef void (*CStyleReadFileCallback)(char const* _path, char** o_contents, cha
extern char const* compileStandard(char const* _input, CStyleReadFileCallback _readCallback);
}
+namespace
+{
+
bool quiet = false;
string contains(string const& _haystack, vector<string> const& _needles)
@@ -169,6 +172,8 @@ void testCompiler()
}
}
+}
+
int main(int argc, char** argv)
{
po::options_description options(