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=64c305b17d329c4272bf4cc321a3ca6ba05be053;p=emacs.git Test files contributed by Barry OReilly * test/manual/cedet/integ_src/globalref/inc/Util.hh: 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/inc/Util.hh b/test/manual/cedet/integ_src/globalref/inc/Util.hh new file mode 100644 index 00000000000..f5fd7dee216 --- /dev/null +++ b/test/manual/cedet/integ_src/globalref/inc/Util.hh @@ -0,0 +1,16 @@ +#pragma once +// +// This file contains the symbols that are searched from in the globalref test. +// + +namespace play { namespace prod { + + // This sym is in some namespaces. + int myUtilFunc(const int param); + +}} + +// This sym is outside of all namespaces. +int myUtilFuncNoNS(const int param); + +//End