blob: 520d16b1ffaf72c4c3171d97dfd1e37893523ef8 [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
Ingo Molnard6dad192010-09-24 09:12:25 +02005echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"