view CbC-examples/test_call.c @ 125:2c7bdd5a49f6

supress return with no value, in function returning non-void warning on goto code segment in normal function
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 01 Apr 2018 14:05:45 +0900
parents 4c6926a2b9bc
children 5d30d517ebed
line wrap: on
line source


int test(int a){
	printf("a = %d\n", a);
	return 10*a;
}

int main(){
	test(10);
	return 0;
}