1#!/bin/sh 2# Test for gcc '-fstack-usage' support 3# Copyright (C) 2013, Masahiro Yamada <yamada.m@jp.panasonic.com> 4# 5# SPDX-License-Identifier: GPL-2.0+ 6# 7 8TMP="$$" 9 10cat <<END | $@ -Werror -fstack-usage -x c - -c -o $TMP >/dev/null 2>&1 \ 11 && echo "y" 12int main(void) 13{ 14 return 0; 15} 16END 17 18rm -f $TMP $TMP.su 19