summaryrefslogtreecommitdiff
path: root/Examples/test-suite/li_std_string.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2006-01-29 14:46:47 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2006-01-29 14:46:47 +0000
commitaa100d9b607917946201826a2e5f3d44f7ac2991 (patch)
tree43ad2eaa51fab51c576c8f47849f5f819356d5a7 /Examples/test-suite/li_std_string.i
parent506cece24053c5142d9b441004512d0e7bb88ce1 (diff)
downloadswig-aa100d9b607917946201826a2e5f3d44f7ac2991.tar.gz
Add const global std::string variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/li_std_string.i')
-rw-r--r--Examples/test-suite/li_std_string.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/Examples/test-suite/li_std_string.i b/Examples/test-suite/li_std_string.i
index 39e7a309e..68e92c410 100644
--- a/Examples/test-suite/li_std_string.i
+++ b/Examples/test-suite/li_std_string.i
@@ -72,6 +72,7 @@ void test_const_pointer_throw() throw(const std::string *) {
%inline %{
std::string GlobalString;
std::string GlobalString2 = "global string 2";
+const std::string ConstGlobalString = "const global string";
struct Structure {
std::string MemberString;