[PPL-devel] [GIT] ppl/ppl(master): All test functions should be declared in the anonymous namespace.

Enea Zaffanella zaffanella at cs.unipr.it
Mon Mar 22 13:57:29 CET 2010


Module: ppl/ppl
Branch: master
Commit: 6fae6ec5525c4eac8e123570f1e775a2f9c1ea02
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=6fae6ec5525c4eac8e123570f1e775a2f9c1ea02

Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date:   Mon Mar 22 13:51:56 2010 +0100

All test functions should be declared in the anonymous namespace.

---

 tests/Polyhedron/exceptions1.cc |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/Polyhedron/exceptions1.cc b/tests/Polyhedron/exceptions1.cc
index 4a74dc9..49d401a 100644
--- a/tests/Polyhedron/exceptions1.cc
+++ b/tests/Polyhedron/exceptions1.cc
@@ -1353,7 +1353,6 @@ test54() {
   return false;
 }
 
-}
 bool
 test55() {
   Variable y(1);
@@ -1400,7 +1399,9 @@ test56() {
   }
   return false;
 }
- // namespace
+
+} // namespace
+
 BEGIN_MAIN
   DO_TEST(test01);
   DO_TEST(test02);




More information about the PPL-devel mailing list