Lines Matching full:export

3 export module p3;
8 export; // expected-error {{empty declaration cannot be exported}}
9 export static_assert(true); // expected-error {{static_assert declaration cannot be exported}}
10 export using namespace A; // expected-error {{ISO C++20 does not permit using directive to be expor…
12 export { // expected-note 3{{export block begins here}}
13 …; // expected-error {{ISO C++20 does not permit an empty declaration to appear in an export block}}
14 …pected-error {{ISO C++20 does not permit a static_assert declaration to appear in an export block}}
18 export struct {}; // expected-error {{must be class member}} expected-error {{GNU extension}} expec…
19 export struct {} struct_;
20 export union {}; // expected-error {{must be declared 'static'}} expected-error {{does not declare …
21 export union {} union_;
22 export enum {}; // expected-error {{does not declare anything}}
23 export enum {} enum_;
24 export enum E : int;
25 export typedef int; // expected-error {{typedef requires a name}}
26 export static union {}; // expected-error {{does not declare anything}}
27 export asm(""); // expected-error {{asm declaration cannot be exported}}
28 export namespace B = A;
29 export using A::ns_mem;
31 export using A::ns_mem;
33 export using Int = int;
34 export extern "C++" {} // expected-error {{ISO C++20 does not permit a declaration that does not in…
35 export extern "C++" { extern "C" {} } // expected-error {{ISO C++20 does not permit a declaration t…
36 export extern "C++" { extern "C" int extern_c; }
37 export { // expected-note {{export block}}
41 export [[]]; // FIXME (bad diagnostic text): expected-error {{empty declaration cannot be exported}}
42 export [[example::attr]]; // FIXME: expected-error {{empty declaration cannot be exported}} expecte…
45 export static int a; // expected-error {{declaration of 'a' with internal linkage cannot be exporte…
46 export static int b(); // expected-error {{declaration of 'b' with internal linkage cannot be expor…
47 export namespace { int c; } // expected-error {{declaration of 'c' with internal linkage cannot be …
49 export int d; // expected-error {{export declaration appears within anonymous namespace}}
51 export template<typename> static int e; // expected-error {{declaration of 'e' with internal linkag…
52 export template<typename> static int f(); // expected-error {{declaration of 'f' with internal link…
53 export const int k = 5;
54 export static union { int n; }; // expected-error {{declaration of 'n' with internal linkage cannot…