Skip to content

Commit 57144f5

Browse files
authored
Fix defunct example in C2735 error reference
1 parent 86e85c2 commit 57144f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)