From b8f8099895220df694e9cdebea24c6f9ca7e63e7 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. llvm-svn: 210064 --- clang/test/CXX/drs/dr5xx.cpp | 16 ++++++++++++++++ .../CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/clang/test/CXX/drs/dr5xx.cpp b/clang/test/CXX/drs/dr5xx.cpp index 09b2869..3a8aa34 100644 --- a/clang/test/CXX/drs/dr5xx.cpp +++ b/clang/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/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp b/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp index a1f6374..db3952a 100644 --- a/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp +++ b/clang/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.7.4