1struct EmptyClass {};
2struct DefinedClass {
3 int i;
4};
5typedef DefinedClass DefinedClassTypedef;
6
7struct FwdClass;
8typedef FwdClass FwdClassTypedef;
9
10template <typename T> struct DefinedTemplateClass {};
11template <> struct DefinedTemplateClass<int> {};
12
13template <typename T> struct FwdTemplateClass;
14template <> struct FwdTemplateClass<int>;
15
16enum class EnumClassFwd;
17
18enum DefinedEnum { Case1 };
19enum DefinedEnumClass { Case2 };
20
21EmptyClass empty_class;
22DefinedClass defined_class;
23DefinedClassTypedef defined_class_typedef;
24
25FwdClass *fwd_class;
26FwdClassTypedef *fwd_class_typedef;
27
28DefinedTemplateClass<int> defined_template_class;
29FwdTemplateClass<int> *fwd_template_class;
30
31EnumClassFwd *fwd_enum_class = nullptr;
32
33DefinedEnum defined_enum = Case1;
34DefinedEnumClass defined_enum_class = DefinedEnumClass::Case2;
35
36int main() {}
37

source code of lldb/test/API/lang/cpp/complete-type-check/main.cpp