Blame view
scripts/gcc-goto.sh
224 Bytes
bf5438fca
|
1 |
#!/bin/sh |
df0a92c20
|
2 |
# Test for gcc 'asm goto' support |
bf5438fca
|
3 |
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com> |
d6dad199a
|
4 |
echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y" |