summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/linking/T11531.c
blob: 9871afd7db02f87fa961f4340642576718dcaee8 (plain)
1
2
3
4
5
6
7
8
9
extern void undefined_function(void);

int some_function(int d) {
  return 64;
}

void __attribute__ ((constructor)) setup(void) {
  undefined_function();
}