Changeset 8837


Ignore:
Timestamp:
07/16/2008 11:01:26 PM (2 years ago)
Author:
dstn
Message:

test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/scamp-integration/test_swapbytes.c

    r8836 r8837  
    3434} 
    3535 
     36static 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 
    3644int main() { 
    3745    unsigned char test2[] = { 1, 2 }; 
     
    4351    test_vec(test8, 8); 
    4452 
     53    //test_xor(); 
     54 
    4555    return 0; 
    4656} 
Note: See TracChangeset for help on using the changeset viewer.