######################################################
#
#  Test that @if without @endif errors (1)
#
#####################################################

body common control
{
      inputs => { "../../default.sub.cf" };
      bundlesequence  => { default("$(this.promise_filename)") };
      version => "1.0";
}

bundle agent check
{
  methods:
      "" usebundle => dcs_passif_expected("any",
                                         "",
                                         $(this.promise_filename));
}

@if minimum_version(300.100)

# Even when the if is false / ignored, we should still error when there
# is no endif before EOF
