blob: 7d8afd4b773eff7726bc9f2766acb59fc5d7aeb6 [file] [log] [blame]
Andrea Di Biagio5768bb82013-08-23 11:53:55 +00001; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2
Paul Robinsonfe45fd02013-11-18 21:44:03 +00003; Check for the presence of attribute optnone in the disassembly.
Andrea Di Biagio5768bb82013-08-23 11:53:55 +00004
5; CHECK: @foo() #0
6define void @foo() #0 {
7 ret void
8}
9
Paul Robinsonfe45fd02013-11-18 21:44:03 +000010; CHECK: attributes #0 = { noinline optnone }
11attributes #0 = { optnone noinline }
Andrea Di Biagio5768bb82013-08-23 11:53:55 +000012