2010-09-17 19:09:00 +04:00
|
|
|
#!/bin/sh
|
2011-06-16 02:17:46 +04:00
|
|
|
# Test for gcc 'asm goto' support
|
2010-09-17 19:09:00 +04:00
|
|
|
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
|
|
|
|
|
2010-09-24 11:12:25 +04:00
|
|
|
echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"
|