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

9 lines
113 B
C++

// RUN: %clang_cc1 -fsyntax-only -fms-extensions %s
template<typename T>
struct X {
enum E *e;
};
X<int> xi;