// SPDX-License-Identifier: LicenseRef-Verum-Proprietary
// SPDX-FileCopyrightText: 2024 Verum Software Tools B.V.
// Proprietary and confidential. See LICENSE for terms.

#include "defer_foreign.hh"

struct foreign: public skel::foreign
{
  size_t scenario;
  foreign (dzn::locator const& locator)
    : skel::foreign (locator)
    , scenario (0)
  {}
  void h_hello ()
  {
    if (++scenario % 2 == 0)
      this->h_cruel ();
    this->h_world ();
  }
};
