• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16package com.huawei.migrationtool.teets.sts;
17
18export class constructor_test  {
19    public constructor() {
20        this(0);
21    }
22
23    protected constructor(b : double, c : char, i : int) {
24    }
25
26    private constructor(i : int) {
27    }
28
29}
30
31class derived extends constructor_test  {
32    public constructor() {
33        this(5);
34    }
35
36    protected constructor(i : int) {
37        super(1.2, c'c', i);
38    }
39
40}
41