summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash19.C
blob: bafde81c5544eae2c5be0c01dd87b5a4ee17a933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

template <class T>
struct S {};

struct X {};

void f () {
  typedef X Y;
  S<Y> s;
}