view test_call.c @ 17:a4f44624a253

asm longjmp (can return correct address but return value is wrong)
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 24 Jan 2016 06:01:43 +0900
parents 35d6eabeadb0
children
line wrap: on
line source

#include<stdio.h>
int test(int a){
  printf("a = %d\n", a);
  return 10*a;
}

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