We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ba737 commit 22fb66eCopy full SHA for 22fb66e
clang/test/CXX/drs/dr9xx.cpp
@@ -73,6 +73,7 @@ namespace dr948 { // dr948: 3.7
73
}
74
75
namespace dr952 { // dr952: yes
76
+namespace example1 {
77
struct A {
78
typedef int I; // #dr952-typedef-decl
79
};
@@ -98,6 +99,16 @@ struct C : B {
98
99
100
101
102
+} // namespace example1
103
+namespace example2 {
104
+struct A {
105
+protected:
106
+ static int x;
107
+};
108
+struct B : A {
109
+ friend int get(B) { return x; }
110
111
+} // namespace example2
112
} // namespace dr952
113
114
namespace dr974 { // dr974: yes
0 commit comments