diff options
author | Ranjith Kumaran <ranjith@cygnus.com> | 2000-03-17 22:48:54 +0000 |
---|---|---|
committer | Ranjith Kumaran <ranjith@cygnus.com> | 2000-03-17 22:48:54 +0000 |
commit | 03261851a10dd2d6900a0a00a7515a0a46fb5d76 (patch) | |
tree | 7c22ac6cbbc99fd5cd1b5426853be8d4fd7bfcf1 /libgloss/testsuite/libgloss.all/printf.c | |
parent | fae4c299f14fc23e2829c8656992eba21f79242a (diff) | |
download | cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.gz cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.tar.bz2 cygnal-03261851a10dd2d6900a0a00a7515a0a46fb5d76.zip |
20000317 sourceware import
Diffstat (limited to 'libgloss/testsuite/libgloss.all/printf.c')
-rw-r--r-- | libgloss/testsuite/libgloss.all/printf.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libgloss/testsuite/libgloss.all/printf.c b/libgloss/testsuite/libgloss.all/printf.c new file mode 100644 index 000000000..4aff104a1 --- /dev/null +++ b/libgloss/testsuite/libgloss.all/printf.c @@ -0,0 +1,31 @@ +/* Oki bug report [OKI006] + + The following program is no work. + + illegal trap: 0x12 pc=d000d954 + d000d954 08000240 NOP + */ + +#include <stdio.h> + +main () +{ + int i, j, k; + + print ("\r\nDemo Program Start\r\n"); + printf ("Value = %d, %d\r\n", 2, 1); + pass ("printf [OKI006]"); + +/* Oki bug report [OKI007] + + iprintf is no work. + "Value = 2, 1" string is not displayed. + + break instruction trap (9) pc=4003c + 0004003c 00000000 BREAK 0x0,0x0 + */ + print ("\r\nDemo Program Start\r\n"); + iprintf ("Value = %d, %d\r\n", 2, 1); + pass ("iprintf [OKI007]"); + fflush (stdout); +} |