diff options
Diffstat (limited to 'Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c')
-rw-r--r-- | Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c b/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c new file mode 100644 index 0000000..b41abc9 --- /dev/null +++ b/Tests/InterfaceLinkLibrariesDirect/testStaticLibWithPluginBad1.c @@ -0,0 +1,6 @@ +/* Produce an error if if the object compiled from this source is used. */ +extern int testStaticLibWithPlugin_linked_before_testStaticLibPlugin(void); +int testStaticLibPlugin(void) +{ + return testStaticLibWithPlugin_linked_before_testStaticLibPlugin(); +} |