Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / preamble.c
blob7344f54453ebaa7eaf0b5f3c4f48a78f74c9d61a
1 // Check that using the preamble option actually skips the preamble.
3 // RUN: %clang_cc1 -emit-pch -o %t %S/Inputs/preamble.h -DFOO=f
4 // RUN: not %clang_cc1 -include-pch %t -preamble-bytes=317,1 -DFOO=f -verify %s -emit-llvm -o - | FileCheck %s
6 float f(int); // Not an error, because we skip this via the preamble!
19 int g(int x) {
20 return FOO(x);
23 // CHECK: call {{.*}} @f(