function window::onload() {}

window.onload = function onload() {}

// pad with enough explicit semicolons to satisfy 90% threshold
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();
foo();

//semmle-extractor-options: --experimental