2 // { dg-options "-O2" }
3 // g++ crashed because we unsaved the TARGET_EXPR for the return value
4 // for get_allocator without first expanding it, because it was part of the
5 // cleanup for the temporary string.
7 // Derived from libstdc++ v3 code.
17 basic_string(const char*);
20 { fee (this->get_allocator()); }
28 failure(const basic_string& __str);