http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56545



Markus Trippelsdorf <markus at trippelsdorf dot de> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |markus at trippelsdorf dot

                   |                            |de



--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
2013-03-05 19:03:01 UTC ---

Probably dup of Bug 54126.



Reduced:



template<typename>struct StringyInterface

{};

template<typename>struct StringyImplementation;

template<>struct StringyImplementation<int>: StringyInterface<int>

{};

template<typename A>struct Stringy

{

  const StringyInterface<A>& verifyConforms =

    StringyImplementation<A>();

};

void

fn1()

{

  Stringy<int>().verifyConforms;

}

Reply via email to