Home
last modified time | relevance | path

Searched refs:apply1 (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/SemaTemplate/
Dmetafun-apply.cpp24 struct apply1 { struct
30 apply1<add_pointer, int>::type ip = &i; argument
31 apply1<add_reference, int>::type ir = i;
32 apply1<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'f…
35apply1<add_reference, void>::type t; // expected-note{{in instantiation of template class 'apply1<… in test()
37apply1<bogus, int>::type t2; // expected-note{{in instantiation of template class 'apply1<bogus, i… in test()
/external/llvm-project/clang/test/SemaTemplate/
Dmetafun-apply.cpp24 struct apply1 { struct
30 apply1<add_pointer, int>::type ip = &i; argument
31 apply1<add_reference, int>::type ir = i;
32 apply1<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'f…
35apply1<add_reference, void>::type t; // expected-note{{in instantiation of template class 'apply1<… in test()
37apply1<bogus, int>::type t2; // expected-note{{in instantiation of template class 'apply1<bogus, i… in test()