/******************************************************************************
 * Copyright (c) 2000-2025 Ericsson Telecom AB
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
 *
 * Contributors:
 *   Balasko, Jeno
 *   Raduly, Csaba
 *
 ******************************************************************************/
// Correct syntax but bad semantics

module port_SE
{
    type record length (10) of integer int10;

    type port P1 message
    {
        out integer;
    }

    type component C1
    {
        port P1 p1;
    }

    testcase tc_isbound_const() runs on C1
    {
        var C1 c1;

        if ( isvalue(p1) ) {
            setverdict(pass);
        } else {
            setverdict(fail);
        }
    }
}
