Changeset 2873 for trunk/kLdr/testcase/tst-0.c
- Timestamp:
- Nov 12, 2006, 7:57:52 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/testcase/tst-0.c
r2863 r2873 1 1 #include "tst.h" 2 #include <stdio.h>3 2 4 3 MY_IMPORT(int) FuncA(void); … … 8 7 int main() 9 8 { 10 unsigned long ul; 11 printf("graph:\n" 12 " tst-0 -> a -> d\n" 13 " b -> d\n" 14 " c -> d\n"); 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; 9 unsigned u; 10 u = FuncA() | FuncB() | FuncC(); 11 return u == 0x42424242 ? 0 : 1; 21 12 } 13
Note:
See TracChangeset
for help on using the changeset viewer.