mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
15 lines
243 B
D
15 lines
243 B
D
|
|
// REQUIRED_ARGS: -O -profile -inline
|
|
|
|
struct Range {
|
|
private string s;
|
|
char charAt(int unused1) { return s[0]; }
|
|
}
|
|
|
|
bool count(Range* r, int* unused2)
|
|
{
|
|
*unused2 = 0;
|
|
int unused3;
|
|
char c = r.charAt(0);
|
|
return true;
|
|
}
|