Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
];
}