source: CIVL/examples/pthread/errorTest/structInitializationTest.cvl@ d1bb96b

1.23 2.0 main test-branch
Last change on this file since d1bb96b was d1bb96b, checked in by John Edenhofner <johneden@…>, 11 years ago

Added struct initialization test

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1943 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 141 bytes
Line 
1typedef struct{
2 int a;
3 int c;
4}s2;
5
6typedef struct{
7 int b;
8 s2 inside;
9}s1;
10
11int main(){
12 s1 test;
13 test = {1,{1,3}};
14 return 0;
15}
Note: See TracBrowser for help on using the repository browser.