gcc/testsuite/g++.dg/template/unify5.C
raw| 1 | |
| 2 | // Copyright (C) 2004 Free Software Foundation, Inc. |
| 3 | // Contributed by Nathan Sidwell 1 Apr 2004 <[email protected]> |
| 4 | // Origin:Matt Austern <[email protected]> |
| 5 | |
| 6 | // PR:c++/14007 |
| 7 | |
| 8 | template <typename T> struct X {}; // #1 |
| 9 | template <typename T> struct X<const T>; //#2 |
| 10 | template struct X<int&>; //#3 |