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 3152e08 commit 3e44a7fCopy full SHA for 3e44a7f
clang/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp
@@ -1,26 +1,25 @@
1
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
2
-// XFAIL: *
3
-// Our C++0x doesn't currently have specialized destructor name handling,
4
-// since the specification is still in flux.
5
-struct C {
+// expected-no-diagnostics
+
+struct C {
6
typedef int I;
7
-};
+};
8
9
-typedef int I1, I2;
10
-extern int* p;
11
-extern int* q;
+typedef int I1, I2;
+extern int* p;
+extern int* q;
12
13
void f() {
14
- p->C::I::~I();
+ p->C::I::~I();
15
q->I1::~I2();
16
}
17
18
-struct A {
+struct A {
19
~A();
20
21
22
-typedef A AB;
+typedef A AB;
23
int main() {
24
- AB *p;
+ AB *p;
25
p->AB::~AB();
26
0 commit comments