summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash14.C
blob: d97577d1d5c0855eef201c0cad293c3aa29c147e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

struct S 
{
};

struct T : public S 
{
};

struct U : public T 
{
};

void f (U);

int main ()
{
  U u;
  f (u);
}