Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dattr-noreturn.cpp104 template <typename T> void accept_T(T) {} in accept_T() function
141 accept_T<void __attribute__((noreturn)) (*)(int)>(foo); in strip_noreturn()
142 accept_T<void __attribute__((noreturn)) (*)(int)>(bar<int>); in strip_noreturn()
143accept_T<void __attribute__((noreturn)) (*)(int)>(bar<double>); // expected-error {{no matching fu… in strip_noreturn()
145 accept_T<void (*)(int)>(foo); in strip_noreturn()
146 accept_T<void (*)(int)>(bar<int>); in strip_noreturn()
147accept_T<void (*)(int)>(bar<double>); // expected-error {{no matching function for call to 'accept… in strip_noreturn()
149 accept_T<void (int)>(foo); in strip_noreturn()
150 accept_T<void (int)>(bar<int>); in strip_noreturn()
151accept_T<void (int)>(bar<double>); // expected-error {{no matching function for call to 'accept_T'… in strip_noreturn()
[all …]