diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-05-30 13:09:38 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-05-30 13:09:38 +0000 |
commit | aefb37754ede64f4bcc91f8a6fce7dc68bbfd39f (patch) | |
tree | c26f1ca20a3be73a21ea9f674a80d247c130a213 /test/CXX/basic | |
parent | bc10c41f5098d2573b21337301ce7c6a7fa269c1 (diff) | |
download | clang-aefb37754ede64f4bcc91f8a6fce7dc68bbfd39f.tar.gz |
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
Diffstat (limited to 'test/CXX/basic')
-rw-r--r-- | test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp | 25 |
1 files 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(); } |