blob: 8f48cbdc1b48c1644f724729eaadf9a1233e0789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96157
// { dg-options "-fno-moduleinfo -fno-rtti" }
// { dg-do compile }
struct CodepointSet
{
CowArray!string data;
}
struct CowArray(SP)
{
~this()
{
if (data.length)
refCount;
}
@property refCount() { return data[$-1]; }
uint[] data;
}
int ucmp() { return 1; }
bool loadProperty () {
CodepointSet target;
if (ucmp)
CodepointSet();
else if (ucmp|| ucmp)
target = CodepointSet();
else if (ucmp|| ucmp)
target = CodepointSet();
else if (ucmp|| ucmp)
target = CodepointSet();
else if (ucmp)
target = CodepointSet();
else if (ucmp)
target = CodepointSet();
return true;
}
|