Move DR532 test where it belongs.
authorNikola Smiljanic <popizdeh@gmail.com>
Tue, 3 Jun 2014 02:56:59 +0000 (02:56 +0000)
committerNikola Smiljanic <popizdeh@gmail.com>
Tue, 3 Jun 2014 02:56:59 +0000 (02:56 +0000)
llvm-svn: 210064

clang/test/CXX/drs/dr5xx.cpp
clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp

index 09b2869..3a8aa34 100644 (file)
@@ -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;
+  }
+}
index a1f6374..db3952a 100644 (file)
@@ -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; }