Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
refs/heads/mithro-patch-1
/
.
/
SVIncCompil
/
Testcases
/
Google
/
chapter-5
/
5.10-structure-arrays-illegal.sv
blob: 14627e8c954f6e7ec859f5767f8d53f00d9c2472 [
file
] [
log
] [
blame
] [
edit
]
/*
:name: structure-arrays-illegal
:description: Structure array assignment tests
:should_fail: 1
:tags: 5.10
*/
module
top
();
typedef
struct
{
int
a
;
int
b
;
}
ms_t
;
/* C-like assignment is illegal */
ms_t
ms
[
1
:
0
]
=
'{0, 0, 1, 1};
endmodule