llvm/clang/test/SemaTemplate/enum-forward.cpp

// RUN: %clang_cc1 -fsyntax-only -fms-compatibility %s

template<typename T>
struct X {
  enum E *e;
};

X<int> xi;