aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/optnone.ll
blob: ec1d7232b363d939c3656cce8d01cb0bb78b5149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s | llvm-dis | FileCheck %s

; Check for the presence of attribute noopt in the disassembly.

; CHECK: @foo() #0
define void @foo() #0 {
  ret void
}

; CHECK: attributes #0 = { optnone }
attributes #0 = { optnone }