Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
msm-4.9
/
02ebc26865c2755720d2ede90a5ab27c45741823
/
.
/
scripts
/
gcc-goto.sh
blob: 520d16b1ffaf72c4c3171d97dfd1e37893523ef8 [
file
] [
log
] [
blame
]
#!/bin/sh
# Test for gcc 'asm goto' suport
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
echo
"int main(void) { entry: asm goto (\"\"::::entry); return 0; }"
|
$@
-
x c
-
-
c
-
o
/
dev
/
null
>/
dev
/
null
2
>&
1
&&
echo
"y"