Skip to content

Commit 30e517c

Browse files
authored
[libcxx][test] Fix a test for the range of file offsets on ARMv7 Linux targets. (#123449)
Mark the `offset_range` test as UNSUPPORTED for the `armv7-unknown-linux-gnueabihf` target (32-bit). Ref PR #122798
1 parent 106c483 commit 30e517c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/offset_range.pass.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
//
2929
// XFAIL: target=powerpc-{{.+}}-aix{{.*}}
3030

31+
// By default, off_t is typically a 32-bit integer on ARMv7 Linux systems,
32+
// meaning it can represent file sizes up to 2GB (2^31 bytes) only.
33+
//
34+
// UNSUPPORTED: target=armv7-unknown-linux-gnueabihf
35+
3136
#include <fstream>
3237
#include <iostream>
3338
#include <cassert>

0 commit comments

Comments
 (0)