diff options
Diffstat (limited to 'test/LINK/VersionedLib.py')
-rw-r--r-- | test/LINK/VersionedLib.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/LINK/VersionedLib.py b/test/LINK/VersionedLib.py index 0d45789..df194d8 100644 --- a/test/LINK/VersionedLib.py +++ b/test/LINK/VersionedLib.py @@ -123,6 +123,19 @@ for f in files: for f in instfiles:
test.must_exist(['installtest', f])
+# modify test.c and make sure it can recompile when links already exist
+test.write('test.c', """\
+#if _WIN32
+__declspec(dllexport)
+#endif
+int testlib(int n)
+{
+return n+11 ;
+}
+""")
+
+print test.run()
+
test.run(arguments = '-c')
for f in files:
|