Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/mosPublic

Commit9bfc428

Browse files
committed
Notes from C17 External definitions
1 parent77b37ec commit9bfc428

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎C17.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,15 @@
288288
}
289289
goto lab4; // invalid: going INTO scope of VLA.
290290
```
291+
292+
#### External definitions
293+
294+
- "An identifier declared as a typedef name shall not be redeclared as a parameter"
295+
```c
296+
typedef int foo;
297+
int baz(foo) int foo; // invalid
298+
{
299+
return 1;
300+
}
301+
```
302+
- in the same scope, an identifer can be declared more than once (except identifer with no linkage) while definition is only once

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp