Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / scripts / cc-can-link.sh
blob6efcead3198989d2ab2ab6772c72d8bb61c89c4e
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
4 cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1
5 #include <stdio.h>
6 int main(void)
8 printf("");
9 return 0;
11 END