ci: add testing for mksnapshot (#15627)

* ci: add testing for mksnapshot
This commit is contained in:
John Kleinschmidt 2018-11-09 10:54:17 -04:00 committed by GitHub
parent edf063bae3
commit 9e2b7dbea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 197 additions and 0 deletions

3
spec/fixtures/testsnap.js vendored Normal file
View file

@ -0,0 +1,3 @@
// taken from https://chromium.googlesource.com/v8/v8.git/+/HEAD/test/cctest/test-serialize.cc#1127
function f () { return g() * 2 } // eslint-disable-line no-unused-vars
function g () { return 43 }