class TestCase::NativeAPI2 : precompile {
  
  version "1.002";
  
  use TestCase::Resource::Mylib1;
  use TestCase::Resource::Mylib2;

  static method spvm_extension2 : int () {
    my $total = &mul(5, 3);
    
    if ($total == 15) {
      return 1;
    }
    
    return 0;
  }

  native static method mul : int ($num1 : int, $num2 : int);

  native static method src_foo : int ();

  native static method src_bar : int ();

  native static method mylib2_source1_func1 : string ();
}
