From 2587c704b103c82a9d702e169156ccd5226aad0f Mon Sep 17 00:00:00 2001 From: Nikola Smiljanic Date: Tue, 3 Jun 2014 02:56:59 +0000 Subject: [PATCH] Move DR532 test where it belongs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210064 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CXX/drs/dr5xx.cpp | 16 ++++++++++++++++ .../temp.decls/temp.fct/temp.func.order/p3.cpp | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/test/CXX/drs/dr5xx.cpp b/test/CXX/drs/dr5xx.cpp index 09b28690fd..3a8aa34a77 100644 --- a/test/CXX/drs/dr5xx.cpp +++ b/test/CXX/drs/dr5xx.cpp @@ -194,3 +194,19 @@ namespace dr525 { // dr525: yes } } } + +// Core DR 532. +namespace PR8130 { + struct A { }; + + template struct B { + template int &operator*(R&); + }; + + template float &operator*(T&, R&); + void test() { + A a; + B b; + int &ir = b * a; + } +} diff --git a/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp b/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp index a1f6374c3d..db3952a388 100644 --- a/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp +++ b/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp @@ -2,22 +2,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s // expected-no-diagnostics -// Core DR 532. -namespace PR8130 { - struct A { }; - - template struct B { - template int &operator*(R&); - }; - - template float &operator*(T&, R&); - void test() { - A a; - B b; - int &ir = b * a; - } -} - namespace OrderWithStaticMember { struct A { template int g(T**, int=0) { return 0; } -- 2.40.0