Skip to content

Commit 387e77c

Browse files
Rageking8Court72
andauthored
Remove H2 heading
Co-authored-by: Courtney Wales <[email protected]>
1 parent 8432983 commit 387e77c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ ms.assetid: 481f9f54-5b51-4aa0-8eea-218f10807705
1212

1313
A constructor cannot contain a **`return`** statement with an expression (even if the expression has type **`void`**). This differs from regular void-returning function where a return expression of type **`void`** is allowed. However, using the **`return`** statement without an expression is allowed for early returns in the constructor.
1414

15-
## Example
1615

1716
The following sample generates C2534:
1817

0 commit comments

Comments
 (0)