﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1775	Concatenating a string with an unbound string variable segfaults	adabe588@…	Martin Sjölund	"{{{

package StringAppend

function test
  input String s;
  output String s2;
algorithm
  // Causes a segfault.
  s2 := s +& s2;
end test;

end StringAppend;
}}}

script file:
{{{

setCommandLineOptions({""+d=rml,noevalfunc,failtrace"",""+g=MetaModelica"",""+showAnnotations"",""+showErrorMessages""});

loadFile(""StringAppend.mo""); getErrorString();

StringAppend.test(""X""); getErrorString();

// Expected
// Something along the line of ""Cannot read from unbound output variable"".

// Actual:
// Segmentation fault: 11
// endResult

}}}"	defect	closed	high	1.9.0	Backend		fixed		
