summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Two/TwoCustomSrc.c
blob: 432dca1ee191671fc2eeffe0e06221e2be12065b (plain)
1
2
3
4
5
6
7
8
9
10
extern void NoFunction(void);

/* Provide a function that is supposed to be found in the Three
   library.  If Two links to TwoCustom then TwoCustom will come before
   Three and this symbol will be used.  Since NoFunction is not
   defined, that will cause a link failure.  */
void ThreeFunction(void)
{
  NoFunction();
}