blob: 9f1286dcb9184dbf59ead53f55f28169961a9e5a [file]
/*
* Copyright 2017, Data61, CSIRO (ABN 41 687 119 230)
*
* SPDX-License-Identifier: BSD-2-Clause
*/
struct client_config {
string name;
int age;
int height;
}
struct foo {
int a;
}
struct bah {
int b;
foo c;
}
struct cat {
int b[];
int c;
}
component Client {
control;
attribute client_config config;
attribute {int age; int height;} inline_struct;
attribute bah nested_struct;
attribute foo array_struct[];
attribute int numbers[];
attribute string strings[];
attribute cat array_in_struct;
}