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