]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - scripts/gcc-goto.sh
Merge remote branch 'keithp/drm-intel-fixes' of /ssd/git/drm-next into drm-fixes
[mirror_ubuntu-artful-kernel.git] / scripts / gcc-goto.sh
1 #!/bin/sh
2 # Test for gcc 'asm goto' suport
3 # Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
4
5 echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"