public dynamic func selfRec(_ x: Int, _ acc: Int) -> Int {
  return 0
}

public class AClass {
  public init() {}
  public dynamic func selfRec(_ x: Int, _ acc: Int) -> Int {
    return 0
  }
}

public class AStruct {
  public init() {}
  public dynamic func selfRec(_ x: Int, _ acc: Int) -> Int {
    return 0
  }
}
