Retro68/elfutils/tests/testfile_implicit_pointer.c
Wolfgang Thaller d21be3b4e1 Add elfutils-0.170
(from https://sourceware.org/elfutils/, GPL/LGPL licensed)
2017-09-21 21:04:42 +02:00

13 lines
189 B
C

// gcc -g -O2 -o implicit_pointer implicit_pointer.c
static __attribute__((noinline, noclone)) int foo (int i)
{
int *p = &i;
return *p;
}
int main (void)
{
return foo (23) - 23;
}