blob: e05020116b3775f3c4dda2d9da1f3df921c3f4c5 [file] [log] [blame]
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
echo "int foo(void) { char X[200]; return 3; }" | $* -S -x c -m32 -O0 -fstack-protector - -o - 2> /dev/null | grep -q "%gs"