* Makefile.in: Rebuilt.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / operators10.C
blobc87880fb9a878dcf176dd7c7e6e01ee7e51e9e4c
1 // Build don't link: 
2 // GROUPS passed operators
3 // opr-eq file
4 // Message-Id: <9306040324.AA22954@balder.cs.wisc.edu>
5 // From: so@cs.wisc.edu (Bryan So)
6 // Subject: g++ bug
7 // Date: Thu, 3 Jun 93 22:24:13 -0500
9 template <class T>
10 struct Test {
11     int data;
12     Test& operator=(int i) { data = i; return *this; }
16 int main()
18     Test<int> i, j;
20     i = j;
22     return 0;