Searched refs:int_c (Results 1 - 5 of 5) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-cxx03-extra-copy.cpp64 template<int> struct int_c { }; struct
71 int &g(int_c<sizeof(f(T()))> * = 0);
H A Dp5-cxx0x-no-extra-copy.cpp53 template<int> struct int_c { }; struct
58 int &g(int_c<sizeof(f(T()))> * = 0); // expected-note{{candidate function [with T = X3]}}
/external/clang/test/CodeGenCXX/
H A Dmangle-template.cpp77 template<unsigned> struct int_c { struct in namespace:test7
84 X(U*, typename int_c<(meta<T>::value + meta<U>::value)>::type *) { }
99 template<unsigned> struct int_c { struct in namespace:test8
104 void f(int_c<meta<T>::type::value>) { }
107 template void f<int>(int_c<sizeof(int)>);
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dp4.cpp4 template<int I> struct int_c;
170 typedef tuple<int_c<N>...> type;
174 tuple<int_c<1>, int_c<2>, int_c<3>, int_c<4>,
175 int_c<5>>>::value? 1 : -1];
/external/clang/test/SemaTemplate/
H A Dfriend-template.cpp131 template<unsigned > struct int_c { }; struct in namespace:FriendTemplateDefinition
136 friend void f(X, int_c<N>) {
141 void test_X(X<int> x, int_c<5> i5) {

Completed in 600 milliseconds