xref: /llvm-project/llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/custom-tool.ll (revision 0b779494a8523a0159afb399ba07f0086552b50d)
1; RUN: llvm-extract -S --func=foo %s | FileCheck --check-prefixes=CHECK %s
2
3define i32 @foo(i32 %x) {
4  %y = add i32 %x, 1
5  ret i32 %y
6}
7