From 64c305b17d329c4272bf4cc321a3ca6ba05be053 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/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. --- .../manual/cedet/integ_src/globalref/inc/Util.hh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/manual/cedet/integ_src/globalref/inc/Util.hh 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 -- 2.39.2