Home
last modified time | relevance | path

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

/external/llvm-project/clang/test/SemaCXX/
Dtype-convert-construct.cpp10 typedef void fn_ty(); in f() typedef
11 fn_ty(); // expected-error {{cannot create object of function type 'fn_ty'}} in f()
12 fn_ty(0); // expected-error {{functional-style cast from 'int' to 'fn_ty'}} in f()
13 fn_ty(0, 0); // expected-error {{cannot create object of function type 'fn_ty'}} in f()
15 fn_ty{}; // expected-error {{cannot create object of function type 'fn_ty'}} in f()
16 fn_ty{0}; // expected-error {{cannot create object of function type 'fn_ty'}} in f()
17 fn_ty{0, 0}; // expected-error {{cannot create object of function type 'fn_ty'}} in f()
18 fn_ty({}); // expected-error {{cannot create object of function type 'fn_ty'}} in f()
/external/clang/test/SemaCXX/
Dtype-convert-construct.cpp10 typedef void fn_ty(); in f() typedef
11 fn_ty(); // expected-error {{function types cannot be value-initialized}} in f()
/external/llvm-project/clang/test/Sema/
Daarch64-vpcs.c15 typedef int (*fn_ty)(void); typedef
17 void foo4(fn_ty ptr1, aavpcs_fn_ty ptr2) { in foo4()