1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// { dg-do assemble } // PRMS Id: 7088 struct string { int length () const; string (string &); string (char * = 0); int operator [] (int); ~string (); }; void _cook(const string raw, bool for_postscript) { unsigned char c = (unsigned) ((string &)raw)[1]; }