summaryrefslogtreecommitdiff
path: root/clang/test/SemaTemplate/enum-forward.cpp
blob: b25c21fc46359e4f0cf928ab2121f65c02f91943 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -fsyntax-only -fms-compatibility %s

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

X<int> xi;