aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/macosx/ptrauth-address-expressions/main.c
blob: 388de7f4b16e8cdca4611c33883165b36080e2b1 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

int foo () { return 10; }

int main () 
{
  int (*fptr)() = foo;
  printf ("%p\n", fptr); // break here
  return fptr();
}