Tests/Dependency/Two/TwoCustomSrc.c
raw| 1 | extern void NoFunction(void); |
| 2 | |
| 3 | /* Provide a function that is supposed to be found in the Three |
| 4 | library. If Two links to TwoCustom then TwoCustom will come before |
| 5 | Three and this symbol will be used. Since NoFunction is not |
| 6 | defined, that will cause a link failure. */ |
| 7 | void ThreeFunction(void) |
| 8 | { |
| 9 | NoFunction(); |
| 10 | } |