Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx2a-consteval.cpp70 consteval int f_eval(int i) { in f_eval() function
79 func_type* p1 = (&f_eval);
81 func_type* p7 = __builtin_addressof(f_eval);
84 auto p = f_eval;
172 return &f_eval; in operator ""_test1()
245 consteval int f_eval(int i) { in f_eval() function
435 consteval int f_eval() { // expected-note+ {{declared here}} in f_eval() function
560 consteval int f_eval() { // expected-note+ {{declared here}} in f_eval() function
579 { Copy c((Copy(&f_eval))); }// expected-error {{cannot take address of consteval}} in test()
586 { Copy c = Copy(Copy(&f_eval)); }// expected-error {{cannot take address of consteval}} in test()
[all …]