llvm-for-llvmta/tools/clang/test/SemaTemplate/enum-forward.cpp

9 lines
116 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -fms-compatibility %s
template<typename T>
struct X {
enum E *e;
};
X<int> xi;