r210064 - Move DR532 test where it belongs.

Nikola Smiljanic popizdeh at gmail.com
Mon Jun 2 19:57:00 PDT 2014


Author: nikola
Date: Mon Jun  2 21:56:59 2014
New Revision: 210064

URL: http://llvm.org/viewvc/llvm-project?rev=210064&view=rev
Log:
Move DR532 test where it belongs.

Modified:
    cfe/trunk/test/CXX/drs/dr5xx.cpp
    cfe/trunk/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp

Modified: cfe/trunk/test/CXX/drs/dr5xx.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr5xx.cpp?rev=210064&r1=210063&r2=210064&view=diff
==============================================================================
--- cfe/trunk/test/CXX/drs/dr5xx.cpp (original)
+++ cfe/trunk/test/CXX/drs/dr5xx.cpp Mon Jun  2 21:56:59 2014
@@ -194,3 +194,19 @@ namespace dr525 { // dr525: yes
     }
   }
 }
+
+// Core DR 532.
+namespace PR8130 {
+  struct A { };
+
+  template<class T> struct B {
+    template<class R> int &operator*(R&);
+  };
+
+  template<class T, class R> float &operator*(T&, R&);
+  void test() {
+    A a;
+    B<A> b;
+    int &ir = b * a;
+  }
+}

Modified: cfe/trunk/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp?rev=210064&r1=210063&r2=210064&view=diff
==============================================================================
--- cfe/trunk/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp (original)
+++ cfe/trunk/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp Mon Jun  2 21:56:59 2014
@@ -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<class T> struct B {
-    template<class R> int &operator*(R&);
-  };
-
-  template<class T, class R> float &operator*(T&, R&);
-  void test() {
-    A a;
-    B<A> b;
-    int &ir = b * a;
-  }
-}
-
 namespace OrderWithStaticMember {
   struct A {
     template<class T> int g(T**, int=0) { return 0; }





More information about the cfe-commits mailing list