summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash45.C
blob: 0251d0bbc2c0c1500b25ee5dc4160840ce783094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// Origin: Jason Merrill <jason@cygnus.com>

template <class T> void f()
{
  extern void g ();
}

int main()
{
  f<int>();
}