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

template <class T> void test(){
  try {
  }
  catch(int x){
  }
}

template void test<int>();