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