Changeset 30250 in vbox for trunk/src/VBox/Runtime/testcase/tstRTAssertCompile.cpp
- Timestamp:
- Jun 16, 2010 1:33:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTAssertCompile.cpp
r30240 r30250 108 108 AssertCompileMemberOffset(STRUCT1, u8, 0); 109 109 AssertCompileMemberOffset(STRUCT1, au8, 1); 110 #ifndef _MSC_VER /** @todo figure out why MSC has trouble with these expressions */ 110 111 AssertCompileMemberOffset(STRUCT1, au8[0], 1); 111 112 AssertCompileMemberOffset(STRUCT1, au8[8], 9); 113 #endif 112 114 113 115 typedef union UNION1 … … 125 127 AssertCompileAdjacentMembers(STRUCT1, u32A, u32B); 126 128 AssertCompileAdjacentMembers(STRUCT1, u8, au8); 129 #ifndef _MSC_VER /** @todo figure out why MSC has trouble with these expressions */ 127 130 AssertCompileAdjacentMembers(STRUCT1, u8, au8[0]); 128 131 AssertCompileAdjacentMembers(STRUCT1, au8[0], au8[1]); 132 #endif 129 133 130 134 AssertCompileMembersAtSameOffset(STRUCT1, u8, STRUCT2, u8);
Note:
See TracChangeset
for help on using the changeset viewer.