diff options
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/filter/test.conf b/filter/test.conf index 09a4a88a..b1342819 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -1178,6 +1178,10 @@ bt_test_suite(t_include, "Testing including another config file"); function t_if_else() int i; { + /* Empty blocks regression test */ + if true then {} + else {} + if true then bt_assert(true); @@ -1187,6 +1191,10 @@ int i; bt_assert(true); else bt_assert(false); + + /* Empty blocks regression test */ + if true then {} + else {} } bt_test_suite(t_if_else, "Testing if-else statement"); |