comparison gcc/testsuite/g++.dg/template/crash84.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
12 12
13 void 13 void
14 foo () 14 foo ()
15 { 15 {
16 a<int> a1; // OK 16 a<int> a1; // OK
17 a<int>::b<a,int> b1; // { dg-error "template argument|converted constant" } 17 a<int>::b<a,int> b1; // { dg-error "template argument|convert" }
18 } 18 }
19 19
20 // { dg-prune-output "invalid type in declaration" } 20 // { dg-prune-output "invalid type in declaration" }