blob: 3b81431233d6af7ae7bd01d4ebdd51c97ea32bf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Build don't link:
// GROUPS passed unsorted
// code-gen file
// From: klaus@steinitz.mathematik.uni-dortmund.de
// Date: Mon, 15 Nov 1993 16:51:11 +0100
// Message-ID: <9311151551.AA17761@steinitz.mathematik.uni-dortmund.de>
template <int A,int B>
class X
{
};
template <int A,int B,int C>
X<A,C> f(X<A,B>,X<B,C>)
{
X<A,C> result;
return result;
}
main()
{
X<1,3> x;
X<1,2> y;
X<2,3> z;
x=f(y,z);
}
|