diff options
Diffstat (limited to 'Tests/Dependency/Two/TwoCustomSrc.c')
-rw-r--r-- | Tests/Dependency/Two/TwoCustomSrc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Dependency/Two/TwoCustomSrc.c b/Tests/Dependency/Two/TwoCustomSrc.c new file mode 100644 index 000000000..ac31dcf37 --- /dev/null +++ b/Tests/Dependency/Two/TwoCustomSrc.c @@ -0,0 +1,10 @@ +extern void NoFunction(); + +/* 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() +{ + NoFunction(); +} |