Sign in
kunit
/
linux
/
bf5438fca2950b03c21ad868090cc1a8fcd49536
/
.
/
scripts
/
gcc-goto.sh
blob: 8e82424be7aa1d1709d5f1829957863b4c6e5e74 [
file
] [
log
] [
blame
]
Jason Baron
bf5438fc
2010-09-17 11:09:00 -0400
[
diff
] [
blame^
]
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; }"
|
$1
-
x c
-
-
c
-
o
/
dev
/
null
>/
dev
/
null
2
>&
1
&&
echo
"y"