Skip to content

Commit 47e0013

Browse files
authored
Remove __declspec(align(0)) example
1 parent 24f8a1a commit 47e0013

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/error-messages/compiler-errors-1/compiler-error-c2345.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ The following sample generates C2345:
1717
```cpp
1818
// C2345.cpp
1919
// compile with: /c
20-
__declspec(align(0)) int a; // OK
21-
__declspec(align(8)) int b; // OK
22-
__declspec(align(16384)) int c; // C2345
20+
__declspec(align(8)) int a; // OK
21+
__declspec(align(16384)) int b; // C2345
2322
```

0 commit comments

Comments
 (0)