summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.dg/pr100882c.d
blob: f4e6e4d3651bb5fb3265773ec90ce2c169f571a3 (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
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100882
// { dg-do compile }

struct CowArray
{
    this(this)
    {
    }
}

struct Tuple
{
    CowArray expand;
}

auto tuple(CowArray)
{
    return Tuple();
}

auto parseCharTerm()
{
    CowArray set;
    return tuple(set);
}