Skip to content

Commit 032e1ee

Browse files
Merge pull request #5769 from Rageking8/fix-defunct-example-and-update-c2735-error-reference
Fix defunct example and update C2735 error reference
2 parents ea47086 + 5bdc1c7 commit 032e1ee

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: "Compiler Error C2735"
33
description: "Learn more about: Compiler Error C2735"
4-
ms.date: 11/04/2016
4+
ms.date: 09/12/2025
55
f1_keywords: ["C2735"]
66
helpviewer_keywords: ["C2735"]
77
---
88
# Compiler Error C2735
99

10-
> 'keyword' keyword is not permitted in formal parameter type specifier
10+
> '*keyword*' keyword is not permitted in formal parameter type specifier
1111
1212
## Remarks
1313

@@ -19,5 +19,7 @@ The following example generates C2735:
1919

2020
```cpp
2121
// C2735.cpp
22-
void f(inline int){} // C2735
22+
// compile with: /c
23+
24+
void func(virtual int) {} // C2735
2325
```

0 commit comments

Comments
 (0)