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
3535static void f10 (); // expected-note {{previous declaration is here}}
3636export void f10 (); // expected-error {{cannot export redeclaration 'f10' here since the previous declaration has internal linkage}}
3737
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+
3844export float V1; // expected-error {{export declaration can only be used on functions}}
3945
4046static export float V2; // expected-error{{expected unqualified-id}}
You can’t perform that action at this time.
0 commit comments