summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20071211-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/20071211-1.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20071211-1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20071211-1.c b/gcc/testsuite/gcc.c-torture/execute/20071211-1.c
index f3786a2f407..4a4f1fefc90 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20071211-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20071211-1.c
@@ -3,7 +3,11 @@ extern void abort() __attribute__ ((noreturn));
struct s
{
unsigned long long f1 : 40;
+#if(__SIZEOF_INT__ >= 4)
unsigned int f2 : 24;
+#else
+ unsigned long int f2 : 24;
+#endif
} sv;
int main()