Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / utils / update_cc_test_checks / Inputs / def-and-decl.c
blobf1c95c445c2f32793140faf8ccc471e0f4581499
1 // Check that the CHECK lines are generated before the definition and not the declaration
2 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu %s -emit-llvm -o - | FileCheck %s
4 int foo(int arg);
6 void empty_function(void);
8 int main(void) {
9 empty_function();
10 return foo(1);
13 int foo(int arg) {
14 return arg;
17 void empty_function(void) {}