OSDN Git Service

* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / switch1.C
1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 template <class T>
5 void f ()
6 {
7   int i;
8   
9   switch (int i = 3) {
10   }
11 }
12
13 template void f<int>();
14
15