gcc/testsuite/g++.old-deja/g++.pt/operator1.C
raw| 1 | // { dg-do assemble } |
| 2 | // Copyright (C) 2000 Free Software Foundation, Inc. |
| 3 | // Contributed by Nathan Sidwell 7 Nov 2000 <[email protected]> |
| 4 | // Origin: bug 510 [email protected] |
| 5 | |
| 6 | struct Example { |
| 7 | template <class U> void operator= (U); |
| 8 | }; |
| 9 | |
| 10 | template <> |
| 11 | void Example::operator=<double> (double); |