Changeset 8837
- Timestamp:
- 07/16/2008 11:01:26 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/projects/scamp-integration/test_swapbytes.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/projects/scamp-integration/test_swapbytes.c
r8836 r8837 34 34 } 35 35 36 static void test_xor() { 37 unsigned char a, b; 38 a = 1; 39 b = 2; 40 a ^= (b ^= (a ^= b)); 41 printf("a=%i, b=%i\n", (int)a, (int)b); 42 } 43 36 44 int main() { 37 45 unsigned char test2[] = { 1, 2 }; … … 43 51 test_vec(test8, 8); 44 52 53 //test_xor(); 54 45 55 return 0; 46 56 }
Note: See TracChangeset
for help on using the changeset viewer.
