History

Fix testcase 95 for windows

herman ten brugge committed 6 years ago

Commit e5da6571 parent dcb87d31 file · +13 −8Browse files

Unified · Split

tests/tests2/95_bitfields.c+13−8
@@ -80,15 +80,20 @@ · 79 unmodified lines
8080 /* ----------------------------------------------------------------------- */
8181 #elif TEST == 7
8282 {
83+#ifdef _WIN32
84+ typedef long long int ll;
85+#else
86+ typedef long int ll;
87+#endif
8388 struct M P __s {
84− long int d : 16;
85− long int b : 16;
86− long int x : 16;
87− long int y : 1;
88− long int z : 2;
89− long int a : 11;
90− long int e : 1;
91− long int f : 1;
89+ ll d : 16;
90+ ll b : 16;
91+ ll x : 16;
92+ ll y : 1;
93+ ll z : 2;
94+ ll a : 11;
95+ ll e : 1;
96+ ll f : 1;
9297 };
9398 TEST_STRUCT(1,2,3,4,5);
9499 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t