File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 406
406
\indextext {restriction!\idxcode {extern}}%
407
407
The \tcode {extern} specifier shall be applied only to the declaration of a variable
408
408
or function. The \tcode {extern} specifier shall not be used in the
409
- declaration of a class member or function parameter.
409
+ declaration of a class member, function parameter, or block-scope variable with
410
+ an \grammarterm {initializer}.
410
411
\indextext {\idxcode {extern}!linkage of}%
411
412
\indextext {consistency!linkage}%
412
413
For the linkage of a name declared with an \tcode {extern} specifier,
4135
4136
and~\ref {stmt.dcl }.
4136
4137
\end {note }
4137
4138
4138
- \pnum
4139
- A declaration of a block-scope variable with external or internal
4140
- linkage that has an \grammarterm {initializer} is ill-formed.
4141
-
4142
4139
\pnum
4143
4140
\indextext {initialization!default}%
4144
4141
\indextext {variable!indeterminate uninitialized}%
You can’t perform that action at this time.
0 commit comments