diff --git a/test/built-ins/BigInt/prototype/valueOf/cross-realm.js b/test/built-ins/BigInt/prototype/valueOf/cross-realm.js
new file mode 100644
index 0000000000000000000000000000000000000000..97e10417129fa0066cd6a37762d8f15fc2f533ee
--- /dev/null
+++ b/test/built-ins/BigInt/prototype/valueOf/cross-realm.js
@@ -0,0 +1,14 @@
+// Copyright 2018 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-bigint.prototype.valueof
+description: valueOf called with a BigInt object from another realm
+features: [BigInt, cross-realm]
+---*/
+
+var other = $262.createRealm().global;
+var wrapped = other.Object(other.BigInt(0));
+
+assert.sameValue(BigInt.prototype.valueOf.call(wrapped), 0n,
+                 "cross-realm valueOf");