/* TAGS: mstring min sym */ /* VERIFY_OPTS: --symbolic -o nofail:malloc */ #include #include #include #include int main() { char str[8] = "aabb\0cc"; char * a = __mstring_val( str, 8 ); a[ 4 ] = 'b'; assert( strlen( a ) == 7 ); }