Test generated module .def files

Teach the ModuleDefinition test to cover the case that a .def file is
generated by a custom command.
This commit is contained in:
Brad King
2012-04-02 10:40:13 -04:00
parent e858440185
commit 89987c2102
4 changed files with 14 additions and 1 deletions
+2
View File
@@ -1,4 +1,5 @@
extern int __declspec(dllimport) example_dll_function(void);
extern int __declspec(dllimport) example_dll_gen_function(void);
#ifdef EXAMPLE_DLL_2
extern int __declspec(dllimport) example_dll_2_function(void);
#endif
@@ -7,6 +8,7 @@ int main(void)
{
return
example_dll_function() +
example_dll_gen_function() +
#ifdef EXAMPLE_DLL_2
example_dll_2_function() +
#endif