OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / codegen1.C
1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 int i;
5
6 struct S
7 {
8   ~S () 
9   {
10   }
11 };
12
13 template <class T>
14 void f (T, S)
15 {
16   i = 0;
17 }
18
19 int main ()
20 {
21   i = 1;
22   f (3, S ());
23   return i;
24 }