blob: 8e82424be7aa1d1709d5f1829957863b4c6e5e74 [file] [log] [blame]
Jason Baronbf5438fc2010-09-17 11:09:00 -04001#!/bin/sh
2# Test for gcc 'asm goto' suport
3# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
4
5echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $1 -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"