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

template <class T>
void h(T&);

template <class T>
void g () 
{
  h ("abcdefghi");
}

template void g<int>();

template <class T>
void h(T&)
{
  T t = {};
}