typedef1.C   [plain text]


// { dg-do assemble  }
// Testcase for handling of typedef wierdness.

template <class T>
struct A
{
  typedef enum
  {
    foo
  } B;

  A (B b);
};

template <class T>
A<T>::A (B b)
{
}