Ignore:
Timestamp:
Nov 10, 2006, 5:05:39 AM (19 years ago)
Author:
bird
Message:

bare bone dll testcase.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/testcase/tst-0.c

    r2841 r2863  
    88int main()
    99{
     10    unsigned long ul;
    1011    printf("graph:\n"
    11            "  tst-1 -> a -> d\n"
     12           "  tst-0 -> a -> d\n"
    1213           "           b -> d\n"
    1314           "           c -> d\n");
    14     return FuncA() + FuncB() + FuncC();
     15    ul = FuncA() | FuncB() | FuncC();
     16    if (ul == 0x42424242)
     17        printf("tst-0: success, ul=%#lx\n", ul);
     18    else
     19        printf("tst-0: failure, ul=%#lx\n", ul);
     20    return ul == 0x42424242 ? 0 : 1;
    1521}
Note: See TracChangeset for help on using the changeset viewer.