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

template <class T>
inline void f ()
{
  
}

void g ()
{
  f<int> ();
}