https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62091

--- Comment #14 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Reduced testcase for  Comment #7:

typedef enum
{
} UErrorCode;
class UnicodeString
{
public:
  UnicodeString ();
  virtual ~UnicodeString ();
};
class A
{
  UnicodeString &m_fn1 (UnicodeString &, int &p2, UErrorCode &) const;
};
UnicodeString::UnicodeString () {}
UnicodeString &
A::m_fn1 (UnicodeString &, int &p2, UErrorCode &) const
{
  UnicodeString a[2];
}

Reply via email to