summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug785776.js
blob: 2bab1bfd52cb1efd5a8b965402d5a103c23136cb (plain)
1
2
3
4
5
6
// Binary: cache/js-dbg-64-e08a67884b9b-linux
// Flags: -m -n -a
//
load(libdir + 'asserts.js');
// has no @@iterator property
assertThrowsInstanceOf(() => {function f([x]){}f(DataView.prototype)}, TypeError);