OSDN Git Service

* g++.old-deja/g++.eh/cleanup2.C: New test.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.ext / realpt1.C
1 // Build don't link:
2 // Special g++ Options:
3 // Origin: Mark Mitchell <mark@codesourcery.com>
4
5 template <double d>
6 struct S;
7
8 template <double d, double e>
9 void f (S<d>*, S<e>*, S<d + e>*);
10
11 void g ()
12 {
13   S<2.0>* s1;
14   S<3.7>* s2;
15   S<5.7>* s3;
16   
17   f (s1, s2, s3);
18 }
19