view normal.c @ 8:37a10fd62ea9

add programs for prototype generation checking
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sat, 21 Feb 2015 21:19:46 +0900
parents bacef8675607
children 0d306982c8b9
line wrap: on
line source

#include<stdio.h>
#include<stdlib.h>

//size_t size;
int size;
typedef int test_int;

test_int ti;

void end(){
	exit(0);
}

int main(int argc, char **argv){
	size=0;
	ti=10;

	printf("main: ");
	printf("normal:%d\n", argc);

	size = 10;
	printf("size = %d\n", size);
	printf("  ti = %d\n",   ti);
	end();
}