| /* | |
| * Copyright 2017, Data61, CSIRO (ABN 41 687 119 230) | |
| * | |
| * SPDX-License-Identifier: BSD-2-Clause | |
| */ | |
| /* Test that we can parse a spec using the parameter type 'unsigned' */ | |
| connector C { | |
| from Procedure; | |
| to Procedure; | |
| } | |
| procedure P { | |
| void foo(in unsigned x); | |
| } | |
| component Foo { | |
| control; | |
| uses P p; | |
| } | |
| component Bar { | |
| provides P p; | |
| } | |
| assembly { | |
| composition { | |
| component Foo foo; | |
| component Bar bar; | |
| connection C conn(from foo.p, to bar.p); | |
| } | |
| } |