view gcc/testsuite/g++.dg/template/typedef7.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// An intermediate version of the fix for c++/19407 broke this example.

struct A
{
  typedef struct { int i; } S;
};

template <class T>
struct B: public A
{
  template <class U>
  static S f ();
};

template struct B<int>;