Home | History | Annotate | Download | only in Inputs
      1 @import cxx_templates_common;
      2 
      3 template<typename T> T f() { return T(); }
      4 template<typename T> T f(T);
      5 namespace N {
      6   template<typename T> T f() { return T(); }
      7   template<typename T> T f(T);
      8 }
      9 
     10 template<int N> int template_param_kinds_1();
     11 template<template<typename T, int, int> class> int template_param_kinds_2();
     12 template<template<typename T, typename U, T> class> int template_param_kinds_3();
     13 
     14 template<typename T> struct SomeTemplate<T*>;
     15 template<typename T> struct SomeTemplate<T*> {};
     16 typedef SomeTemplate<int*> SomeTemplateIntPtr;
     17 
     18 template<typename T> void PerformDelayedLookup(T &t) {
     19   t.f();
     20   typename T::Inner inner;
     21   FoundByADL(t);
     22 }
     23 
     24 template<typename T> void PerformDelayedLookupInDefaultArgument(T &t, int a = (FoundByADL(T()), 0)) {}
     25 
     26 template<typename T> struct RedeclaredAsFriend {};
     27