summaryrefslogtreecommitdiffstats
path: root/Tests/LinkLineOrder/NoDepZ.c
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2002-11-19 23:01:05 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2002-11-19 23:01:05 (GMT)
commit939035ad91aff5de5a1b514176cd2765a1b9a728 (patch)
tree9994ce3571301afd9a375bd50eda63603b4de202 /Tests/LinkLineOrder/NoDepZ.c
parent7140c6f364c55084d5e581cc7e603032ec4087b9 (diff)
downloadCMake-939035ad91aff5de5a1b514176cd2765a1b9a728.zip
CMake-939035ad91aff5de5a1b514176cd2765a1b9a728.tar.gz
CMake-939035ad91aff5de5a1b514176cd2765a1b9a728.tar.bz2
BUG: the dependency analysis would incorrectly alphabetically re-order the
link lines, which affects external libraries pulled up from deep within the dependency tree. Fixed by preserving order everywhere.
Diffstat (limited to 'Tests/LinkLineOrder/NoDepZ.c')
-rw-r--r--Tests/LinkLineOrder/NoDepZ.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/LinkLineOrder/NoDepZ.c b/Tests/LinkLineOrder/NoDepZ.c
new file mode 100644
index 0000000..fab10b6
--- /dev/null
+++ b/Tests/LinkLineOrder/NoDepZ.c
@@ -0,0 +1,7 @@
+// depends on NoDepX
+void NoDepX_func();
+
+void NoDepZ_func()
+{
+ NoDepX_func();
+}