aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Verifier/noundef.ll
blob: 9ee5a1859799efae64f6cfdf369b6a9eb4071c68 (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s

; CHECK: Attribute 'noundef' applied to incompatible type!
; CHECK-NEXT: @noundef_void
define noundef void @noundef_void() {
  ret void
}