We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71d0597 commit 11a6f43Copy full SHA for 11a6f43
clang/test/SemaCXX/union-member-destructor.cpp
@@ -13,7 +13,7 @@ struct VS {
13
VS(short);
14
VS();
15
};
16
-VS::VS() : VS(0) { }
+VS::VS() : VS(0) { } // delegating constructors should not produce errors
17
VS::VS(short) : _Tail() { } // expected-note {{in instantiation of member function 't1::VSX<int>::~VSX' requested here}}
18
}
19
0 commit comments