From aefb37754ede64f4bcc91f8a6fce7dc68bbfd39f Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 30 May 2014 13:09:38 +0000 Subject: [PATCH] This test should no longer be XFAILed; the standard has stabilized, and the test contents are acceptable. No diagnostics expected from this test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209891 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../basic.lookup/basic.lookup.qual/p6-0x.cpp | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp b/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp index c745c8451b..c3be712ddb 100644 --- a/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp +++ b/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp @@ -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(); } -- 2.40.0