Home | History | Annotate | Download | only in temp.func.order
      1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
      2 
      3 // Core DR 532.
      4 namespace PR8130 {
      5   struct A { };
      6 
      7   template<class T> struct B {
      8     template<class R> int &operator*(R&);
      9   };
     10 
     11   template<class T, class R> float &operator*(T&, R&);
     12   void test() {
     13     A a;
     14     B<A> b;
     15     int &ir = b * a;
     16   }
     17 }
     18