llvm/clang/test/utils/update_cc_test_checks/Inputs/check-globals.c

// First, make sure --check-globals doesn't crash on a non-FileChecked command.
// RUN: true
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s

void foo(void) {
  static int i, j;
}
void bar(void) {
  static int i, j;
}