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