Retro68/elfutils/tests/testfile_implicit_value.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
215 B
C

// gcc -m32 -g -O2 -o implicit_value implicit_value.c
static __attribute__((noinline, noclone)) int foo ()
{
unsigned long long a[] = { 2, 21 };
return a[0] * a[1];
}
int main (void)
{
return foo () - 42;
}