blob: bdd7fc9965d48dac20f9af3a3e64806ed2990696 [file] [log] [blame]
// Copyright 2019 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
extern int DefeatTailOptimizationForBomb();
__attribute__ ((noinline)) int recbomb(int n) {
if (n < 2) {
*(char*)0x16 = 0;
return 1;
}
return recbomb(n - 1) + DefeatTailOptimizationForBomb();
}
int DefeatTailOptimizationForCrasher() {
return 0;
}