Skip to content

Commit

Permalink
Add missing compilation test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadden committed Aug 8, 2018
1 parent 22a7642 commit 0a1b3f9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions compilation_tests/strict_conditionals.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#ifdef ALIA_TEST_COMPILATION_FAILURE
#define ALIA_STRICT_CONDITIONALS
#endif

#include <alia/data_graph.hpp>

using namespace alia;

void
f(data_traversal& ctx)
{
ALIA_IF(1 > 0)
{
}
ALIA_END
}

0 comments on commit 0a1b3f9

Please sign in to comment.