diff options
Diffstat (limited to 'libbuild2/cc/parser.test.cxx')
-rw-r--r-- | libbuild2/cc/parser.test.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/cc/parser.test.cxx b/libbuild2/cc/parser.test.cxx index 7613741..2270d32 100644 --- a/libbuild2/cc/parser.test.cxx +++ b/libbuild2/cc/parser.test.cxx @@ -1,7 +1,6 @@ // file : libbuild2/cc/parser.test.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file -#include <cassert> #include <iostream> #include <libbuild2/types.hxx> @@ -9,6 +8,9 @@ #include <libbuild2/cc/parser.hxx> +#undef NDEBUG +#include <cassert> + using namespace std; using namespace butl; @@ -42,7 +44,7 @@ namespace build2 } parser p; - unit u (p.parse (is, in)); + unit u (p.parse (is, in, compiler_id (compiler_type::gcc, ""))); switch (u.type) { |