summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/inherit/access5.C
blob: 715a4a3b29b3fd71d2a61c23bce86dbd87ba0af7 (plain)
1
2
3
4
struct S { ~S(); };
struct T : virtual private S {};
struct U : private T {};
U u;