xref: /llvm-project/clang/test/utils/update_cc_test_checks/Inputs/check-globals.c (revision 0dd49a5628bbe01cecf6516017da59ae44863ab3)
1 // First, make sure --check-globals doesn't crash on a non-FileChecked command.
2 // RUN: true
3 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
4 
foo(void)5 void foo(void) {
6   static int i, j;
7 }
bar(void)8 void bar(void) {
9   static int i, j;
10 }
11