comparison gcc/testsuite/g++.dg/template/pr51488.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 // PR c++/51488 1 // PR c++/51488
2 2
3 template<class T,class U=void> struct s; 3 template<class T,class U=void> struct s;
4 template<class T> struct s<T,typename s<T>::a> {}; 4 template<class T> struct s<T,typename s<T>::a> {};
5 s<int> ca; // { dg-error "depth" } 5 s<int> ca; // { dg-error "" }
6
7 // { dg-prune-output "compilation terminated" }