xref: /llvm-project/clang/test/CodeGen/print-pipeline-passes.c (revision bf492371033378cec4c0443a3f87db0f818bbade)
1 // Test that -print-pipeline-passes works in Clang
2 
3 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -o /dev/null -mllvm -print-pipeline-passes -O0 %s 2>&1 | FileCheck %s
4 
5 // Don't try to check all passes, just a few to make sure that something is
6 // actually printed.
7 // CHECK: always-inline
8 // CHECK-SAME: annotation-remarks
Foo(void)9 void Foo(void) {}
10