Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.pt/crash52.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 assemble } // Origin: Mark Mitchell <mark@codesourcery.com> template <class T> struct S1 { template <class U> struct S2 { S2(U); }; template <class U> void f(U u) { S2<U> s2u(u); } }; void g() { S1<int> s1; s1.f(3.0); }