Skip to content

Commit 77390be

Browse files
committed
Disable failing test under clang-cl 32 bit
1 parent 8c8c402 commit 77390be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/alignment_of_test.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,11 @@ void test_pointer()
181181

182182
void test_member_pointer()
183183
{
184+
#if defined(__clang__) && defined(_MSC_VER) && defined(_M_IX86)
185+
// clang-cl 32 bit: error: size of array element of type 'int X::*' (12 bytes) isn't a multiple of its alignment (8 bytes)
186+
#else
184187
test<int X::*>();
188+
#endif
185189
test<int(X::*)()>();
186190
}
187191

0 commit comments

Comments
 (0)