summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/unify5.C
blob: 6928f1f842961eefffa79c0d7c55b5b553b9d0ad (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright (C) 2004 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 1 Apr 2004 <nathan@codesourcery.com>
// Origin:Matt Austern <austern@apple.com>

// PR:c++/14007

template <typename T> struct X {};  // #1
template <typename T> struct X<const T>; //#2
template struct X<int&>; //#3