aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/assign1.C
blob: d0e134a477b035a34cc1cf92b4e39da7985ac0f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/16623

template <int N>
struct C
{
  C& operator= (int);
};

template <int N>
C<N>& C<N>::operator= (int)
{
  return *this;
}

C<0> a;