1// { dg-do assemble  }
2// Origin: Mark Mitchell <mark@codesourcery.com>
3
4struct S
5{
6};
7
8S g ();
9
10template <class T>
11void f ()
12{
13  const S& s = g ();
14}
15
16template void f<int>();
17