r209891 - This test should no longer be XFAILed; the standard has stabilized, and the test contents are acceptable. No diagnostics expected from this test.
Aaron Ballman
aaron at aaronballman.com
Fri May 30 06:09:38 PDT 2014
Author: aaronballman
Date: Fri May 30 08:09:38 2014
New Revision: 209891
URL: http://llvm.org/viewvc/llvm-project?rev=209891&view=rev
Log:
This test should no longer be XFAILed; the standard has stabilized, and the test contents are acceptable. No diagnostics expected from this test.
Modified:
cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp
Modified: cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp?rev=209891&r1=209890&r2=209891&view=diff
==============================================================================
--- cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp (original)
+++ cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp Fri May 30 08:09:38 2014
@@ -1,26 +1,25 @@
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
-// XFAIL: *
-// Our C++0x doesn't currently have specialized destructor name handling,
-// since the specification is still in flux.
-struct C {
+// expected-no-diagnostics
+
+struct C {
typedef int I;
-};
+};
-typedef int I1, I2;
-extern int* p;
-extern int* q;
+typedef int I1, I2;
+extern int* p;
+extern int* q;
void f() {
- p->C::I::~I();
+ p->C::I::~I();
q->I1::~I2();
}
-struct A {
+struct A {
~A();
-};
+};
-typedef A AB;
+typedef A AB;
int main() {
- AB *p;
+ AB *p;
p->AB::~AB();
}
More information about the cfe-commits
mailing list