Skip to content

Commit 3e44a7f

Browse files
committed
This test should no longer be XFAILed; the standard has stabilized, and the test contents are acceptable. No diagnostics expected from this test.
llvm-svn: 209891
1 parent 3152e08 commit 3e44a7f

File tree

1 file changed

+12
-13
lines changed
  • clang/test/CXX/basic/basic.lookup/basic.lookup.qual

1 file changed

+12
-13
lines changed
Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
// 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 {
2+
// expected-no-diagnostics
3+
4+
struct C {
65
typedef int I;
7-
};
6+
};
87

9-
typedef int I1, I2;
10-
extern int* p;
11-
extern int* q;
8+
typedef int I1, I2;
9+
extern int* p;
10+
extern int* q;
1211

1312
void f() {
14-
p->C::I::~I();
13+
p->C::I::~I();
1514
q->I1::~I2();
1615
}
1716

18-
struct A {
17+
struct A {
1918
~A();
20-
};
19+
};
2120

22-
typedef A AB;
21+
typedef A AB;
2322
int main() {
24-
AB *p;
23+
AB *p;
2524
p->AB::~AB();
2625
}

0 commit comments

Comments
 (0)