2013-08-23 19:53:55 +08:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
|
2013-11-19 05:44:03 +08:00
|
|
|
; Check for the presence of attribute optnone in the disassembly.
|
2013-08-23 19:53:55 +08:00
|
|
|
|
|
|
|
; CHECK: @foo() #0
|
|
|
|
define void @foo() #0 {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2013-11-19 05:44:03 +08:00
|
|
|
; CHECK: attributes #0 = { noinline optnone }
|
|
|
|
attributes #0 = { optnone noinline }
|
2013-08-23 19:53:55 +08:00
|
|
|
|