source: CIVL/examples/translation/openclversion2.1/openSimp.cvl@ ceef308

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since ceef308 was 1454e00, checked in by Jacob Trieu <fuufusuu@…>, 12 years ago

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

  • Property mode set to 100644
File size: 183 bytes
RevLine 
[1454e00]1int func()
[da70bc2]2{
[1454e00]3 return 4;
[da70bc2]4}
[1454e00]5
[1acabb5]6int main(int argc, char** argv)
[da70bc2]7{
[1454e00]8 int global = func();
[e1b39409]9 int input[global];
[1acabb5]10
11 for(int i = 0; i < global; i++)
[da70bc2]12 {
[1acabb5]13 input[i] = i;
[da70bc2]14 }
[e1b39409]15 return 0;
[da70bc2]16}
Note: See TracBrowser for help on using the repository browser.