comparison gcc/testsuite/g++.dg/template/assign1.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // PR c++/16623
2
3 template <int N>
4 struct C
5 {
6 C& operator= (int);
7 };
8
9 template <int N>
10 C<N>& C<N>::operator= (int)
11 {
12 return *this;
13 }
14
15 C<0> a;