]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210064 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 09b28690fd4b873bb2232732f7a6092897d71329..3a8aa34a7793ba7e276b93896004001eb5f676f9 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 a1f6374c3d5caf6cd1e1356af08fb551658d8317..db3952a388c2c6b3709fd20b43a0b02f8587ed95 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; }