From 66b117df8b7ee35de96419fa475f102b5fad29dd Mon Sep 17 00:00:00 2001 From: Eric Ludlam Date: Wed, 1 Jan 2014 20:44:55 -0500 Subject: [PATCH] Test files contributed by Barry OReilly * test/manual/cedet/integ_src/globalref/test/ManagerTest.cc: These test files contributed by Barry OReilly, modified for use in the automated tests for CEDET, and with additional comments. inc/Util.hh, src/Util.cc: Search symbol both in and outside of namespaces. --- .../integ_src/globalref/test/ManagerTest.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/manual/cedet/integ_src/globalref/test/ManagerTest.cc diff --git a/test/manual/cedet/integ_src/globalref/test/ManagerTest.cc b/test/manual/cedet/integ_src/globalref/test/ManagerTest.cc new file mode 100644 index 00000000000..51943fb1207 --- /dev/null +++ b/test/manual/cedet/integ_src/globalref/test/ManagerTest.cc @@ -0,0 +1,16 @@ +#include "Util.hh" +#include "Manager.hh" +#include "ManagerTest.hh" + +// +// This fcn uses the namespaces used in the test, but should not be +// a search destination. +// +namespace play { namespace test { + + ManagerTest() { + printf("Inside ManagerTest ctor.\n"); + play::prod::Manager manager(666); + } + +}} -- 2.39.2