#!/usr/bin/env qore
# -*- mode: qore; indent-tabs-mode: nil -*-

%new-style
%enable-all-warnings
%require-types
%strict-args

class T {
    constructor() {
        call_function_args(\T::t());
    }

    int t() {
        print("hi\n");
        return 1;
    }
}

T t();
