Rev 182 | Rev 187 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 182 | Rev 183 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #include <print.h> |
2 | #include <print.h> |
3 | #include <test.h> |
3 | #include <test.h> |
4 | 4 | ||
5 | void test(void) |
5 | void test(void) |
6 | { |
6 | { |
7 | printf("char %c \n",'c'); |
- | |
8 | __u64 u64const = 0x0123456789ABCDEFLL; |
7 | __u64 u64const = 0x0123456789ABCDEFLL; |
9 | // printf(" p %P %p \n",0x1234567898765432); |
- | |
10 | printf(" Printf test \n"); |
8 | printf(" Printf test \n"); |
11 | printf(" Q %Q %q %Q \n",u64const, u64const); |
9 | printf(" Q %Q %q \n",u64const, u64const); |
12 | printf(" L %L %l \n",0x12345678 ,0x12345678); |
10 | printf(" L %L %l \n",0x01234567 ,0x01234567); |
13 | printf(" W %W %w \n",0x1234 ,0x1234); |
11 | printf(" W %W %w \n",0x0123 ,0x0123); |
14 | printf(" B %B %B \n",0x12 ,0x12); |
12 | printf(" B %B %b \n",0x01 ,0x01); |
15 | - | ||
16 | return; |
13 | return; |
17 | } |
14 | } |
18 | - |