source: trunk/libs/newlib/src/libgloss/testsuite/libgloss.all/printf.c @ 684

Last change on this file since 684 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 625 bytes
Line 
1/* Oki bug report [OKI006]
2
3        The following program is no work.
4
5        illegal trap: 0x12 pc=d000d954
6        d000d954 08000240  NOP
7 */
8
9#include <stdio.h>
10
11main ()
12{
13        int i, j, k;
14
15        print ("\r\nDemo Program Start\r\n");
16        printf ("Value = %d, %d\r\n", 2, 1);
17        pass ("printf [OKI006]");
18       
19/* Oki bug report [OKI007]
20
21        iprintf is no work.
22        "Value = 2, 1" string is not displayed.
23       
24        break instruction trap (9) pc=4003c
25        0004003c 00000000  BREAK 0x0,0x0
26 */
27        print ("\r\nDemo Program Start\r\n");
28        iprintf ("Value = %d, %d\r\n", 2, 1);
29        pass ("iprintf [OKI007]");
30        fflush (stdout);
31}
Note: See TracBrowser for help on using the repository browser.