summaryrefslogtreecommitdiff
path: root/tests/libc/test_printf.c
blob: d2fc849cd2da496f8056c8be8598f1ab06a48cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "string.h"
#include "stdlib.h"
#include "stdio.h"

int main( void )
{
	char *s = "test_string";
	int i = 47;
	char c = 'X';

	printf( "string '%s', decimal %d, hex 0x%X, character '%c'\n",
		s, i, i, c );
		
	exit( 0 );
}