xref: /llvm-project/llvm/test/BugPoint/func-attrs-keyval.ll (revision 82d3c0759fa0f0d3789f9b88d5f5e8cc6e97126f)
1; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%pluginext %s -output-prefix %t -bugpoint-crashfuncattr -silence-passes
2; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
3; REQUIRES: plugins
4
5; CHECK: f() #[[ATTRS:[0-9]+]]
6define void @f() #0 {
7  ret void
8}
9
10; CHECK: attributes #[[ATTRS]] = { "bugpoint-crash"="sure" }
11attributes #0 = { "bugpoint-crash"="sure" noreturn "frame-pointer"="non-leaf" }
12