File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ static void f9(); // expected-error {{static declaration of 'f9' follows non-sta
35
35
static void f10 (); // expected-note {{previous declaration is here}}
36
36
export void f10 (); // expected-error {{cannot export redeclaration 'f10' here since the previous declaration has internal linkage}}
37
37
38
+ export void f11 ();
39
+ void f11 () {}
40
+
41
+ void f12 (); // expected-note{{previous declaration is here}}
42
+ export void f12 () {} // expected-error{{cannot export redeclaration 'f12' here since the previous declaration is not exported}}
43
+
38
44
export float V1; // expected-error {{export declaration can only be used on functions}}
39
45
40
46
static export float V2; // expected-error{{expected unqualified-id}}
You can’t perform that action at this time.
0 commit comments