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

struct S 
{
};

S g ();

template <class T>
void f ()
{
  const S& s = g ();
}

template void f<int>();