Skip to content

Commit 30297f7

Browse files
committed
[FOLD] add test
1 parent 764a9a8 commit 30297f7

File tree

1 file changed

+21
-0
lines changed
  • clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type

1 file changed

+21
-0
lines changed

clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp

+21
Original file line numberDiff line numberDiff line change
@@ -607,3 +607,24 @@ namespace N5 {
607607

608608
template void g(int); // expected-note {{in instantiation of}}
609609
} // namespace N5
610+
611+
namespace N6 {
612+
struct A {
613+
int x;
614+
};
615+
616+
struct B {
617+
A* operator->();
618+
};
619+
620+
struct C {
621+
B y;
622+
};
623+
624+
template<typename T>
625+
struct D : C {
626+
void f() {
627+
y->x;
628+
}
629+
};
630+
} // namespace N6

0 commit comments

Comments
 (0)