mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
handy test wrapper
git-svn-id: svn://svn.valgrind.org/vex/trunk@1050
This commit is contained in:
parent
d250492e91
commit
dc40e0565c
12
VEX/switchback/test_simple.c
Normal file
12
VEX/switchback/test_simple.c
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
static void bar ( void*(*service)(int,int) )
|
||||
{
|
||||
__asm__ __volatile__ ("addi 17, 14, 5");
|
||||
}
|
||||
|
||||
void entry ( void*(*service)(int,int) )
|
||||
{
|
||||
bar(service);
|
||||
service(0,0);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user