aboutsummaryrefslogtreecommitdiff
path: root/tests/b-info/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/b-info/driver.cxx')
-rw-r--r--tests/b-info/driver.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/b-info/driver.cxx b/tests/b-info/driver.cxx
index 3ecfbc0..c5a2013 100644
--- a/tests/b-info/driver.cxx
+++ b/tests/b-info/driver.cxx
@@ -110,6 +110,18 @@ try
cout << *i;
}
+ cout << endl
+ << "modules: ";
+
+ for (auto b (pi.modules.begin ()), i (b);
+ i != pi.modules.end ();
+ ++i)
+ {
+ if (i != b)
+ cout << ' ';
+
+ cout << *i;
+ }
cout << endl;
return 0;