aboutsummaryrefslogtreecommitdiff
path: root/old-tests/parser/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-24 12:31:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-24 12:31:43 +0300
commitdec742c5fa8a8ab35b2bbe96f990a84959164f66 (patch)
tree7a89dd3bee22062fe0d7aa99366988cc7713bbb1 /old-tests/parser/driver.cxx
parent32b728b7e9ef2505220e8a4d7dffb4bfda94e16e (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'old-tests/parser/driver.cxx')
-rw-r--r--old-tests/parser/driver.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/old-tests/parser/driver.cxx b/old-tests/parser/driver.cxx
index a5b6820..6fb5aee 100644
--- a/old-tests/parser/driver.cxx
+++ b/old-tests/parser/driver.cxx
@@ -1,7 +1,6 @@
// file : tests/build/parser/driver.cxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
-#include <cassert>
#include <sstream>
#include <iostream>
@@ -14,6 +13,9 @@
#include <build/lexer>
#include <build/parser>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace build;