blob: 22199dea81c3265cf1bf69e5d41a52d2138540d2 [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// 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;
}