File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
test/Interop/Cxx/class/Inputs Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4458,8 +4458,10 @@ namespace {
4458
4458
return nullptr ;
4459
4459
4460
4460
Decl *SwiftDecl = Impl.importDecl (decl->getUnderlyingDecl (), getActiveSwiftVersion ());
4461
+ if (!SwiftDecl)
4462
+ return nullptr ;
4463
+
4461
4464
const TypeDecl *SwiftTypeDecl = dyn_cast<TypeDecl>(SwiftDecl);
4462
-
4463
4465
if (!SwiftTypeDecl)
4464
4466
return nullptr ;
4465
4467
Original file line number Diff line number Diff line change @@ -189,4 +189,10 @@ struct StructWithCopyConstructorAndSubobjectCopyConstructorAndValue {
189
189
: member(other.member) {}
190
190
};
191
191
192
+ template <class > struct DependentParent { struct Child { }; };
193
+
194
+ struct HasUnsupportedUsingShadow : DependentParent<int > {
195
+ using typename DependentParent<int >::Child;
196
+ };
197
+
192
198
#endif // TEST_INTEROP_CXX_CLASS_INPUTS_TYPE_CLASSIFICATION_H
You can’t perform that action at this time.
0 commit comments