Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
imports
/
ice4481b.d
blob: 1bcd59dc752e63c8174a957c3707fc4f75d27fde [
file
] [
log
] [
blame
]
module
imports
.
ice4481b
;
import
imports
.
ice4481a
;
class
Font
{
public
:
int
charHeight
(
dchar c
)
{
return
c
==
's'
;
}
int
textHeight
(
in
string
text
)
{
auto
maxHeight
=
(
dchar ch
)
{
return
charHeight
(
ch
);
};
return
reduce
!(
maxHeight
)(
text
);
}
}