source: CIVL/examples/library/string/memcpy_multi_dim_one.c@ afc300c

1.23 2.0 main test-branch
Last change on this file since afc300c was 7a770ca, checked in by Ziqing Luo <ziqing@…>, 9 years ago

Fixed the problem reported in Ticket 824. One bug in the helper function in bundle_unpack

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

  • Property mode set to 100644
File size: 122 bytes
Line 
1#include <string.h>
2
3int main() {
4
5 int a[1][1];
6 int b[1][1] = {1};
7
8 memcpy(a, &b[0][0], sizeof(int));
9 return 0;
10}
Note: See TracBrowser for help on using the repository browser.