From: Eric Ludlam Date: Thu, 2 Jan 2014 01:44:55 +0000 (-0500) Subject: Test files contributed by Barry OReilly X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66b117df8b7ee35de96419fa475f102b5fad29dd;p=emacs.git 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. --- 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); + } + +}}