blob: 225db8b8f2f80cdd78860c8cee1ebede32a7c12b [file] [log] [blame]
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98427
// { dg-do compile }
// { dg-options "-O2 -fno-inline" }
@trusted memoizeExpr()
{
struct CodepointSet
{
struct CowArray
{
uint *ptr;
}
const CodepointSet binary(U)(U rhs)
{
return rhs;
}
CowArray array;
}
CodepointSet().binary(CodepointSet());
}