Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.pt/crash41.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// { dg-do compile } // Origin: Mark Mitchell <mark@codesourcery.com> template <int> struct S1{}; struct S2 { int i; }; template <class T> void f(S2 s2) { S1<s2.i> s1; // { dg-error "" } } template void f<int>(S2);