diff options
author | Sean Hunt <scshunt@csclub.uwaterloo.ca> | 2011-06-24 02:11:39 +0000 |
---|---|---|
committer | Sean Hunt <scshunt@csclub.uwaterloo.ca> | 2011-06-24 02:11:39 +0000 |
commit | c39b6bc958982171b45c658389840a6241739a5e (patch) | |
tree | f84970f76629c895b53bcd54e10d249ed82f205d /test/SemaCXX/using-decl-assignment-cache.cpp | |
parent | b8b0313e84700b5c6d597b3be4de41c97b7550f1 (diff) |
This patch started as an attempt to fix up the horrid naming
conventions. I then discovered a typo in the using declaration bit in
LookupSpecialMember. This led to discovering [namespace.udecl]p15, which
clang implements incorrectly. Thus I've added a comment and implemented
the code consistently with the rest of clang - that is incorrectly.
And because I don't want to include tests of something incorrect, I've
ripped the test out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/using-decl-assignment-cache.cpp')
-rw-r--r-- | test/SemaCXX/using-decl-assignment-cache.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/SemaCXX/using-decl-assignment-cache.cpp b/test/SemaCXX/using-decl-assignment-cache.cpp deleted file mode 100644 index a3a50e5d2c..0000000000 --- a/test/SemaCXX/using-decl-assignment-cache.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// RUN: %clang_cc1 -std=c++0x -fsyntax-only %s - -struct D; -struct B { - D& operator = (const D&); -}; -struct D : B { - using B::operator=; -}; -struct F : D { -}; - -void H () { - F f; - f = f; -} |