Skip to content

Commit 25aae11

Browse files
authored
Add "Remarks" and "Examples" headings in C2601 error reference
1 parent b2aebfd commit 25aae11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/error-messages/compiler-errors-2/compiler-error-c2601.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ ms.assetid: 88275582-5f37-45d7-807d-05f06ba00965
1010

1111
> '*function*': local function definitions are illegal
1212
13+
## Remarks
14+
1315
Code tries to define a function within a function.
1416

1517
Or, there may be an extra brace in your source code before the location of the C2601 error.
1618

19+
## Examples
20+
1721
The following sample generates C2601:
1822

1923
```cpp

0 commit comments

Comments
 (0)