Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
expr
/
cond4.C
blob: fff5c8b185dc7e66f4ec512c1e2e067e6e7747f6 [
file
] [
log
] [
blame
]
// PR c++/13971
struct
QChar
{
static
const
QChar
null
;
};
struct
QCharRef
{
operator
QChar
()
const
;
};
struct
QString
{
QCharRef
operator
[](
int
i
);
};
QChar
fillParagraph
(
QString
s
,
int
psi
)
{
return
psi
?
QChar
::
null
:
s
[
psi
];
}